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/08/15 19:43:06 UTC

DO NOT REPLY [Bug 22469] New: - org.apache.lucene.search.Query.toString(String field) ignores it's only parameter

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=22469>.
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=22469

org.apache.lucene.search.Query.toString(String field) ignores it's only parameter

           Summary: org.apache.lucene.search.Query.toString(String field)
                    ignores it's only parameter
           Product: Lucene
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Search
        AssignedTo: lucene-dev@jakarta.apache.org
        ReportedBy: morr@xorr.net


The JavaDoc says:
"Prints a query to a string, with field as the default field for terms. 

The representation used is one that is readable by QueryParser (although, if 
the query was created by the parser, the printed representation may not be 
exactly what was parsed). "

But as Far as I can tell it doesn't matter what you pass it. It returns the 
same thing if you had called toString()