lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Performance of hit highlighting and finding term positions for a specific document
Date Wed, 31 Mar 2004 01:03:34 GMT
On Mar 30, 2004, at 7:56 PM, Kevin A. Burton wrote:
> Trying to do hit highlighting.  This implementation uses another 
> Analyzer to find the positions for the result terms.
> This seems that it's very inefficient since lucene already knows the 
> frequency and position of given terms in the index.

What if the original analyzer removed stopped words, stemmed, and 
injected synonyms?

> Also it seems that after all this time that Lucene should have 
> efficient hit highlighting as a standard package.  Is there any 
> interest in seeing a contribution in the sandbox for this if it uses 
> the index positions?

Big +1, regardless of the implementation details.  Hit hilighting is so 
commonly requested that having it available at least in the sandbox, or 
perhaps even in the core, makes a lot of sense.


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

View raw message