lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Getting tokens from search results. Simple concept
Date Fri, 27 Feb 2009 10:25:12 GMT
Have you looked at the contrib Highlighter?  Or using an Analyzer  
directly to give you the offsets?

	Erik

On Feb 26, 2009, at 9:32 AM, HPDrifter wrote:

>
> When I get a search result based on my index, I need the exact  
> tokens which
> were identified in the index as part of the result.  Why?  I need the
> character offsets.
>
> I have a solution right now...almost, but it bugs the hell out of me  
> that I
> can say something like...
> documentHit[0].getIdentifiedTokens();
>
> Do I need to make a contribution in order to make this happen?:ninja:
>
>
> -- 
> View this message in context: http://www.nabble.com/Getting-tokens-from-search-results.--Simple-concept-tp22225364p22225364.html
> Sent from the Lucene - Java Developer mailing list archive at  
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org


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


Mime
View raw message