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 2004/02/29 19:09:03 UTC

DO NOT REPLY [Bug 23308] - [1.3RC1] QueryParser should handle Query.toString()

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

[1.3RC1] QueryParser should handle Query.toString()

pierrick.brihaye@wanadoo.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From pierrick.brihaye@wanadoo.fr  2004-02-29 18:09 -------
Erik Hatcher wrote :

>How about creating a custom TermQuery subclass 

Well, that was the point :-) In subclassing a TermQuery, the toString() method 
returns the text representation of this TermQuery, *not* the text 
representation of the sub-class.

Anyway, *embedding* a TermQuery in my UnanalyzedTermQuery does the trick.

Closing this bug, thanks.

p.b.

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