Hello,

Following on from https://issues.apache.org/jira/browse/LUCENE-3684, does it 
make sense to expose the startOffset and endOffset from DocsAndPositionsEnum in 
Spans and TermSpans?  I'm writing some highlighter-like code that needs to emit 
exact offsets for complex boolean queries, and Spans.getSpans seems like the 
natural place to get them.  The relevant patch is pretty tiny.

I also have a patch to add offsets to MemoryIndex, from the same bit of 
development.

Thanks,
Alan Woodward


Reply via email to