From: Šplíchal J. <spl...@to...> - 2011-01-08 15:52:24
|
Hello Mohammad, for highlighting the important question is how big is ONE document and not the size of the whole data. (At least I assume the 6GB is not the size of one document). The class SpanHighlightScorer is in the contribs-lib package at the same place as all other highlighter classes. But you cannot highlight a document based on a filter so to highlight it you have to have the original WildcardQuery. This query would rewrite only against the one document that is being highlighted and this probably will not generate so much clauses. Jiri From: muhammad ismael [mailto:m.i...@gm...] Sent: Saturday, January 08, 2011 4:31 PM To: clu...@li... Subject: Re: [CLucene-dev] CLucene-developers Digest, Vol 57, Issue 6 Hello Jiri I have documents more than 6 GB. I checked-out the highlighter branch and i compiled it. but where is the SpanHighlightScorer ? after sub-classing QueryParser and using wildcardFilter I can get results now but i can not highlight it. How can i highlight these results? Mohammad Ismael |