You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2013/02/02 10:46:14 UTC

[jira] [Commented] (LUCENE-4745) Allow FuzzySlop customization in classic QueryParser

    [ https://issues.apache.org/jira/browse/LUCENE-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13569486#comment-13569486 ] 

Simon Willnauer commented on LUCENE-4745:
-----------------------------------------

Interesting idea. I can see the benefit of this in many ways and the nice part about this is that you don't break backwards compatibility here. Well maybe since you don't be a query parser error if you do "foo~2bar" vs. "foo~2 bar". I personally have no strong feelings about this particular problem, anybody else?
                
> Allow FuzzySlop customization in classic QueryParser
> ----------------------------------------------------
>
>                 Key: LUCENE-4745
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4745
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/queryparser
>    Affects Versions: 4.1
>            Reporter: Florian Schilling
>             Fix For: 4.2, 5.0
>
>         Attachments: LUCENE-4745-full.patch, LUCENE-4745-full.patch, LUCENE-4745-raw.patch, LUCENE-4745-raw.patch
>
>
> It turns out searching arbitrary fields with define FUZZY_SLOP values could be problematic on some types of values. For example a FUZZY_SLOP on dates is ambiguous and needs a definition of a unit like months, days, minutes, etc. An extension on the query grammar that allows some arbitrary text behind the values in combination with a possibility to override the method parsing those values could solve these kinds of problems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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