[
https://issues.apache.org/jira/browse/LUCENE-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930840#action_12930840
]
Masoud commented on LUCENE-995:
-------------------------------
Is this a fix just for the date fields, or does it work for all fields, for
example will Author:[* TO *] work to get all Authors that have something
in them (and also, query like *:* -Author:[* TO *] to get all records that
are missing the Author field?)
Any idea what version of Lucene this will be included with and when it will be
released?
> Add open ended range query syntax to QueryParser
> ------------------------------------------------
>
> Key: LUCENE-995
> URL: https://issues.apache.org/jira/browse/LUCENE-995
> Project: Lucene - Java
> Issue Type: Improvement
> Components: QueryParser
> Affects Versions: 1.9, 2.0.0, 2.1, 2.2
> Reporter: Jonas Gorski
> Assignee: Yonik Seeley
> Priority: Minor
> Fix For: 4.0
>
> Attachments: LUCENE-995.patch, LUCENE-995.patch,
> LUCENE-995_09_21_2009.patch
>
>
> The QueryParser fails to generate open ended range queries.
> Parsing e.g. "date:[1990 TO *]" gives zero results,
> but
> ConstantRangeQuery("date","1990",null,true,true)
> does produce the expected results.
> "date:[* TO 1990]" gives the same results as
> ConstantRangeQuery("date",null,"1990",true,true).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]