Re: Retrieving offsets

2012-01-19 Thread Robert Muir
On Fri, Jan 13, 2012 at 9:33 PM, Nishad Prakash wrote: > > - More generally, I would like to be able to iterate over positions in > a document, collecting offset information for those positions as I go. > Is there any way to do this?  I didn't find such an iterator, but I > may not know where to l

Re: Retrieving offsets

2012-01-19 Thread Mike Sokolov
ne that are all connected to the difficulty of retrieving offsets. I need some advice on how best to proceed, or a pointer if this has been answered somewhere. My app requires that I display all portions of the documents where the search term or terms are found. Because of this, I always use Index

Re: Retrieving offsets

2012-01-19 Thread Nishad Prakash
I'm going to cry. There is no way to retrieve offsets for position, rather than for term? On 1/13/2012 6:33 PM, Nishad Prakash wrote: I'm having a set of issues in trying to use Lucene that are all connected to the difficulty of retrieving offsets. I need some advice on h

Retrieving offsets

2012-01-13 Thread Nishad Prakash
I'm having a set of issues in trying to use Lucene that are all connected to the difficulty of retrieving offsets. I need some advice on how best to proceed, or a pointer if this has been answered somewhere. My app requires that I display all portions of the documents where the search te