Re: Getting offset information of hits

2004-03-18 Thread Otis Gospodnetic
See highlighter link on the Contributions page.

Otis

--- Rick Noel <[EMAIL PROTECTED]> wrote:
> I'm new to Lucene and am trying to implement excerpts and
> highlighting.  I am
> trying to figure out how I can get offset information from the Hits
> class.  TermPositions doesn't appear to get me the offset information
> that
> the Token class provides.  Is there a way of getting this information
> at 
> search time?
> 
> -Rick
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Getting offset information of hits

2004-03-18 Thread Rick Noel
I'm new to Lucene and am trying to implement excerpts and highlighting.  I am
trying to figure out how I can get offset information from the Hits
class.  TermPositions doesn't appear to get me the offset information that
the Token class provides.  Is there a way of getting this information at 
search time?

-Rick

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]