You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2003/04/10 20:02:02 UTC

DO NOT REPLY [Bug 18914] New: - QueryParser can not parse RangeQuery.toString() output

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18914>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18914

QueryParser can not parse RangeQuery.toString() output

           Summary: QueryParser can not parse RangeQuery.toString() output
           Product: Lucene
           Version: unspecified
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: QueryParser
        AssignedTo: lucene-dev@jakarta.apache.org
        ReportedBy: amordo@infosciences.com


When the RangeQuery.toString() outputs. The result is something like this 
PostDate:[0ddiz2jml-null]
But the QueryParser does not handles the (-) sign, it expects the TO keyword.
So in order for it to parse the string. The String has to be PostDate:
[0ddiz2jml TO null]

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