lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Spans, appended fields, and term positions
Date Tue, 22 Nov 2005 08:55:33 GMT

On 22 Nov 2005, at 03:18, Paul Elschot wrote:
>> You just about have me convinced :)   For some reason adding a method
>> to Analyzer seems much heavier to me - not quite sure why, just a gut
>> feeling.
>
> In case this position increment gap is needed both at indexing time  
> and
> at query/highlighting time, I think Analyzer is the right place to  
> put it.

And in fact this is exactly what changed my mind.  I use this new  
method in my custom highlighter as an offset for each successive  
value of aggregated (same named) fields.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message