[
https://issues.apache.org/jira/browse/LUCENE-3343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073144#comment-13073144
]
Adriano Crestani commented on LUCENE-3343:
------------------------------------------
Hi Oliver,
Thanks for contributing the patch.
It works perfectly, except for non-numeric queries. I fixed the problem by
merging your patch with LUCENE-3338 (a patch with the new changes is attached
there as well).
I will take a look at your patch for 3x later.
> Comparison operators >,>=,<,<= and = support as RangeQuery syntax in
> QueryParser
> --------------------------------------------------------------------------------
>
> Key: LUCENE-3343
> URL: https://issues.apache.org/jira/browse/LUCENE-3343
> Project: Lucene - Java
> Issue Type: New Feature
> Components: modules/queryparser
> Reporter: Olivier Favre
> Priority: Minor
> Labels: parser, query
> Fix For: 3.4, 4.0
>
> Attachments: NumCompQueryParser-3x.patch, NumCompQueryParser.patch
>
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> To offer better interoperability with other search engines and to provide an
> easier and more straight forward syntax,
> the operators >, >=, <, <= and = should be available to express an open range
> query.
> They should at least work for numeric queries.
> '=' can be made a synonym for ':'.
--
This message is automatically generated by JIRA.
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]