You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Rasik Pandey <ra...@ajlsm.com> on 2003/10/02 11:27:04 UTC

RE : New highlighter package available

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: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org