lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <>
Subject Re: How to extract 15/20 words around the matched query after getting results from lucene searcher?
Date Tue, 26 May 2009 18:54:24 GMT

On May 25, 2009, at 1:34 AM, KK wrote:

> Also people are talking about someting called spanQueries/ 
> termvectors etc to
> use for this purpose. I'm still to get the exact idea of how to do  
> this.

I just blogged up a quick little demo (including full code) of this at

Please excuse any mistakes on my part as I threw it together pretty  
quickly today.


Grant Ingersoll

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message