[
https://issues.apache.org/jira/browse/LUCENE-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Schilling updated LUCENE-4745:
--------------------------------------
Attachment: LUCENE-4745-raw.patch
LUCENE-4745-full.patch
This patch extends the query grammar by allow an arbitrary suffix on
FUZZY_SLOP. With this extension it will be possible to append units to the
values defined by FUZZY_SLOPS. I.e. those units can be used for dates to
specify a slop interval to be defined in month, days, hours, etc.
File: LUCENE-4745-raw.patch contains the changes on the query grammar and the
QueryParserBase
File: LUCENE-4745-full.patch also contains changes on the auto-generated parser
classes.
> 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-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: [email protected]
For additional commands, e-mail: [email protected]