lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy <royde...@gmail.com>
Subject Re: Can I retrieve token offsets from Hits?
Date Thu, 22 Jul 2004 17:36:27 GMT
Hi, Lucene Guru:

I wonder if the information in termPositions or termVector can be used
to restore token position from indicies?

Thanks!

Roy


On Wed, 21 Jul 2004 21:32:10 +0100, markharw00d@yahoo.co.uk
<markharw00d@yahoo.co.uk> wrote:
> >  I need these values for hihglighting. I've already looked to
> > Highlighter in sandbox but it actually re-analyzes the original
> > document's field.
> 
> Technically not true, as of a few months ago. The good news is the highlighter has been
redesigned
> specifically to use TokenStreams not Analyzers. This would enable you to pass the token
position information
> in from a pre-computed store of token positions. The bad news is that such a token-position
storage
> feature has not been added to core Lucene yet.
> If it ever is added the highlighter is already set up to make good use of it.
> 
> Cheers
> Mark
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
>

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


Mime
View raw message