Re: Query modifier

2010-03-30 Thread David Smiley (@MITRE.org)
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. It would also be nice if

Re: Query modifier

2010-03-30 Thread David Smiley (@MITRE.org)
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 issu