lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin A. Burton" <>
Subject Re: RE : Performance of hit highlighting and finding term positions for a specific document
Date Thu, 01 Apr 2004 02:23:49 GMT
Rasik Pandey wrote:

>>Trying to do hit highlighting.  This implementation uses
>>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.
>Can you explain in more detail what you mean here?
It uses the StandardAnalyzer again to re-index to find tokens... when it 
finds the same token that matched a search request it highlights it.

It works... just not too efficient.



Please reply using PGP.    
    NewsMonster -
Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
       AIM/YIM - sfburtonator,  Web -
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
  IRC - #infoanarchy | #p2p-hackers | #newsmonster

View raw message