The documentation for the highlighter already covers how to handle wildcard queries.

See the javadoc notes on query.rewrite.


Cheers Mark

--- Begin Message ---
Hello,

I'm currently investigating improving the Highlighter currently
supplied in the lucene sandbox. Especially we'd like to parse 
more different styles of Querys. Most important WildcardQuery.

As it turns out, this shouldn't be too difficult, but the problem is
that the API MultiTermQuery.getEnum() is protected. So to actually
analyze what is going on in the stomach of a MultiTermQuery (e.g.
a WildcardQuery) we had to rebuild what is done within that class.
With all the risks code duplications usually have.

I don't see why this API simply isn't public. While its obviously
"expert" and not for anyones daily use, it would be rather a
feature than a bug to have that public.

This is so easy, that it could be easily done with Lucene 1.4.4.

Regards,
Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to