Possible to see first hit in file

Jan 4, 2012 at 12:17 AM

Hi,

What are the chances of a feature of being able to see where the hits are and the context a little - a bit like google?

Nice app!

regards

dan

Coordinator
Jan 8, 2012 at 10:10 PM
Edited Jan 8, 2012 at 10:10 PM

It is possible using term vectors, but is adds a bit more complexity and the actual location of the word is difficult for binary files like Word, pdf, etc as the text is being stripped out using Filters. Check out this if you want to read more:

http://www.lucidimagination.com/blog/2009/05/26/accessing-words-around-a-positional-match-in-lucene/