[ https://issues.apache.org/jira/browse/LUCENE-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747278#action_12747278 ]
Luis Alves commented on LUCENE-995: ----------------------------------- I propose to improve the syntax to allow the following "date>1990" "date<1990" "date=1990" "date>=1990" "date<=1990" What do you guys think? We probably could do it at same time we implement LUCENE-1823 > 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 > Priority: Minor > > 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org