Mark, > >That may well used to be the case but not since >query.rewrite() was introduced. All of the existing "complex" >query types (range/prefix/fuzzy etc) >are redefined as more primitive term queries in their >implementation of query.rewrite(reader). > >This is what enables the highlighter to work with these >queries without having to change Lucene internals. > >Incidentally, having thought about the overhead of >query.rewrite(reader) I have chosen to >remove that code from the highlighter package. It is now the >responsibility of the caller
Do you have any examples or test cases with this new code? Regards, Rasik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
