I want to perform some rewriting rules on the queries I get. The best way to
do that is to edit the parse tree.
However, the Query classes do not contain any methods for reading out or
altering their contents or to clone them.
Is there any reason for that? Or is this just a feature nobody has needed
yet?
I'd rather do that than altering the query string.
I just ask because I fear I will end up rewriting all the Query classes to
suit my needs, which will be become a tedious integration task as Lucene
evolves. If there's an interest I could contribute the code then.
Regards,
Clemens
--------------------------------------
http://www.cmarschner.net
--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>
do that is to edit the parse tree.
However, the Query classes do not contain any methods for reading out or
altering their contents or to clone them.
Is there any reason for that? Or is this just a feature nobody has needed
yet?
I'd rather do that than altering the query string.
I just ask because I fear I will end up rewriting all the Query classes to
suit my needs, which will be become a tedious integration task as Lucene
evolves. If there's an interest I could contribute the code then.
Regards,
Clemens
--------------------------------------
http://www.cmarschner.net
--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>