No idea about solr, but in lucene if you build your own FuzzyQuery via new FuzzyQuery(...) all the constructors take a Term so you could skip short terms. But there doesn't appear to be anything built in. If you are using the query parser you could probably make your own subclass of that that used your own subclass of FuzzyQuery that skipped short terms. You could also use the latter hypothetical subclass if creating queries via new xxxQuery(....) calls.
-- Ian. On Fri, Jan 20, 2012 at 1:37 PM, Lance <lancejack...@rogers.com> wrote: > HI, > > Could you please help me with a quick question - Is there a way to restrict > lucene/solr fuzzy search to only analyze words that have more than 5 > characters and to ignore words with less than that (i.e. less than 6 > character words)? > > Thanks > > > --------------------------------- > Lance > > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org