You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2008/09/11 16:19:46 UTC

[jira] Updated: (LUCENE-995) Add open ended query syntax to QueryParser

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

Mark Miller updated LUCENE-995:
-------------------------------

    Issue Type: Improvement  (was: Bug)
       Summary: Add open ended query syntax to QueryParser  (was: Parsed open ended range queries give zero results)

> Add open ended 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org