On Fri, Jan 13, 2012 at 9:33 PM, Nishad Prakash <praka...@uci.edu> 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 look. Everything I did find was tied to > iterating over positions for specific terms, which is not relevant > here. >
https://issues.apache.org/jira/browse/LUCENE-3684 was committed which allows you to specify IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS for a field. i put up an initial patch to add this to the 4.0 index format here: https://issues.apache.org/jira/browse/LUCENE-3706 -- lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org