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

Robert Muir commented on LUCENE-5410:
-------------------------------------

Upayavira: I see your point, however one of the key advantages of this parser 
is the ability to selectively enable or disable any operator. The same 
arguments could be made for prefix queries or even the NOT operator (-), so it 
was added with that in mind (as well as to provide a way to do multiword 
synonyms: disable WHITESPACE).

As far as setting a parameter to make every term fuzzy, I don't think thats a 
good idea. In such a case I really think you should do n-gram indexing :)

> Add fuzziness support to SimpleQueryParser
> ------------------------------------------
>
>                 Key: LUCENE-5410
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5410
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/queryparser
>    Affects Versions: 4.7
>            Reporter: Lee Hinman
>            Priority: Minor
>         Attachments: LUCENE-5410.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> It would be nice to add fuzzy query support to the {{SimpleQueryParser}} so 
> that:
> {{foo~2}}
> generates a {{FuzzyQuery}} with an max edit distance of 2 and:
> {{"foo bar"~2}}
> generates a {{PhraseQuery}} with a slop of 2.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to