I observed this problem when I started using Lucene (ages ago) and it's a shame this situation persists. In summary, it would be tremendously useful if Query objects were fully mutable and offered a visitor pattern to allow walking the query tree to facilitate rewriting. I could open a JIRA issue...
~ David Smiley Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book ----- Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book -- View this message in context: http://n3.nabble.com/Query-modifier-tp567265p686135.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org