You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2011/01/26 13:27:47 UTC

[jira] Reopened: (LUCENE-79) QueryParser: time not supported in date ranges

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

Uwe Schindler reopened LUCENE-79:
---------------------------------


> QueryParser: time not supported in date ranges
> ----------------------------------------------
>
>                 Key: LUCENE-79
>                 URL: https://issues.apache.org/jira/browse/LUCENE-79
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: QueryParser
>    Affects Versions: CVS Nightly - Specify date in submission
>         Environment: Operating System: All
> Platform: PC
>            Reporter: Jay Jayaprasad
>            Priority: Minor
>
> It would be great if time was supported in date ranges. I believe it is a simple
> change in QueryParser.jj to do this. It should be as simple as changing the
> following line in QueryParser.jj.getRangeQuery():
>     DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
> TO
>     DateFormat df = DateFormat.getDateTimeInstance(DateFormat.SHORT,
> DateFormat.SHORT);

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