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

2008-09-11 Thread Mark Miller (JIRA)

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

Mark Miller updated LUCENE-995:
---

Summary: Add open ended range query syntax to QueryParser  (was: Add open 
ended query syntax to QueryParser)

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2009-08-25 Thread Luis Alves (JIRA)

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

Luis Alves updated LUCENE-995:
--

Fix Version/s: 3.1

> 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: Luis Alves
>Priority: Minor
> Fix For: 3.1
>
>
> 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



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

2009-09-21 Thread Adriano Crestani (JIRA)

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

Adriano Crestani updated LUCENE-995:


Attachment: LUCENE-995_09_21_2009.patch

The patch adds open ended range query to oal.queryParser.QueryParser. By 
default it's disabled and may be enabled invoking 
setEnableOpenEndedRangeQueries. I also added the capability to redefine the 
open ended token, the default is '*'.

I also added some test cases. 

> 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: Luis Alves
>Priority: Minor
> Fix For: 3.1
>
> Attachments: 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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org