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 
http://www.lucidimagination.com/blog/2009/05/26/accessing-words-around-a-positional-match-in-lucene/

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

HTH,
Grant


--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene:
http://www.lucidimagination.com/search


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

Reply via email to