[ 
https://issues.apache.org/jira/browse/LUCENE-5410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lee Hinman updated LUCENE-5410:
-------------------------------

    Attachment: LUCENE-5410.patch

Here's a new version of the patch with these changes:

- Make only minimal changes to {{consumeToken}} and {{consumePhrase}}, all the 
logic lives in separate "parseFuzziness" function used by both.
- Separate the flags for edit distance and slop, there is now 
{{FUZZINESS_OPERATOR}} and {{SLOP_OPERATOR}}.
- More tests

> 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, LUCENE-5410.patch, 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to