lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
Subject Re: subclasses of abstract Query class are not implementing all methods
Date Fri, 11 Mar 2005 15:18:23 GMT
> Having a clean implementation of toString(), one would be able to
> reparse a Query with QueryParser. This is something which was discussed
> several times on the dev and user lists. I expect that it will work for
> all queries supported by QueryParser.

Only under certain restrictions.  Remember that the QueryParser uses
an Analyzer on field values, so it's impossible to guarantee that you
can go from String->Query->String and have them match...

-Yonik

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


Mime
View raw message