lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: restrict fuzzy search to longer words
Date Mon, 23 Jan 2012 17:08:12 GMT
Not sure what you mean by integration.  The suggestion is all about
queries and query parsing, so query time.


--
Ian.


On Mon, Jan 23, 2012 at 3:44 PM, Lance <lancejackson@rogers.com> wrote:
> Hi Ian,
>
> Thanks for your help. I was just checking to see if my solr/lucene developer understands
this. He's in India.
> He says this takes place at the time of integration. Is that correct?
>
> ---------------------------------
> Lance
>
>
>
> On Jan 20, 2012, at 3:40 PM, Ian Lea wrote:
>
> 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 <lancejackson@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message