lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From -Arne- <>
Subject Re: Highlighting large documents (Lucene 3.0.0)
Date Mon, 01 Mar 2010 15:34:59 GMT

Hi Koji,
thanks for your answer. Can you help me a once again?  What exactly  I
suposse to do? 

Koji Sekiguchi-2 wrote:
> -Arne- wrote:
>> Hi,
>> I'm using Lucene 3.0.0 and have large documents to search (logfiles
>> 0,5-20MB). For better search results the query tokens are truncated left
>> and
>> right. A search for "user" is made to "*user*". The performance of
>> searching
>> even complex queries with more than one searchterm is quite good. But
>> highlighting the search results took quite a while. I have tried the
>> default
>> Highlighter, which doesn't seemed to be fast enough and the
>> FastVectorHighlighter, which seems to be fast enought, but didn't return
>> fragments for truncated queries, for not truncated query I got fragments.
>> Could anybode please tell me what is the best way to highlight large
>> documents and, if the FastVectorHighlighter is the solution for faster
>> highlighting, how to highlight truncated search queries.
>> Thanks in advance,
>> -Arne-
> I'm not sure this is the best way, but can you index and search
> the highlighting field with NGram? Since FVH supports
> NGram field to highlight, you can use "user" just as "user"
> (rather than "*user*") to highlight the NGram field.
> Koji
> -- 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message