lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: FuzzyQuery with short words
Date Thu, 12 Sep 2013 21:22:18 GMT
Thanks Tim, I'll commit a fix shortly ...

Mike McCandless

http://blog.mikemccandless.com


On Thu, Sep 12, 2013 at 2:59 PM, Allison, Timothy B. <tallison@mitre.org> wrote:
> Mike,
>
> Thank you.  I opened https://issues.apache.org/jira/browse/LUCENE-5206.  This should
be a trivial javadoc update.  Again, apologies to all if I missed this point in the documentation.
>
> Best,
>
>       Tim
>
> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Thursday, September 12, 2013 7:19 AM
> To: Lucene Users
> Subject: Re: FuzzyQuery with short words
>
> I think so?  The default prefixLength is 0 ...
>
> Just make sure you're not hitting the maxExpansions limit (default is
> 50).  Ie, if your index has many other terms within edit distance 2 of
> "ab" or edit distance 1 of "x" then then may cause your example "abcd"
> to rank below the top 50, and be pruned.
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Wed, Sep 11, 2013 at 9:42 PM, Allison, Timothy B. <tallison@mitre.org> wrote:
>> All,
>>  Apologies if I missed this in the documentation, but should:
>>
>> FuzzyQuery q = new FuzzyQuery(new Term("field", "ab"), 2)
>>
>> retrieve a document that contains:
>>
>> abcd
>>
>> and vice versa.
>>
>> Same question for: xy~1 and a document that contains "x".
>>
>> Will submit test case if this is not a known issue or a suggested patch to the javadocs
if this is a known issue.
>>
>>      Best,
>>
>>                  Tim
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
> ---------------------------------------------------------------------
> 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