You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Eric Jain <Er...@isb-sib.ch> on 2006/02/18 16:28:54 UTC

QueryPrinter?

I need to parse a query string, modify it a bit, and then output the 
modified query string. This works quite well with query.toString(), except 
that when I parse the query I set DEFAULT_OPERATOR_AND, and the output of 
BooleanQuery.toString() assumes DEFAULT_OPERATOR_OR... Would be great if 
this behavior could be changed through a static field, or perhaps someone 
has already written some kind of QueryPrinter that is a bit more flexible?

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