lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "YL (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4807) toString of TermRangeQuery ends with "}" instead of "]"
Date Fri, 01 Mar 2013 05:27:14 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590253#comment-13590253
] 

YL commented on LUCENE-4807:
----------------------------

Okay. I expected it would have worked. How do I find other possible situations where QueryParser
won't be able to parse the result of a toString of a query?
                
> toString of TermRangeQuery ends with "}" instead of "]"
> -------------------------------------------------------
>
>                 Key: LUCENE-4807
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4807
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: YL
>
> Create a TermRangeQuery, then toString it, you'll get something like this:
> +lastmodified:[19700101000000 TO 20130228202438}
> The last character is wrong. I came across this when I tried to parse a query based on
the toString of a TermRangeQuery.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message