Hi,

I was following tutorail at
http://searchhub.org/2009/05/26/accessing-words-around-a-positional-match-in-lucene/
for couting number of spans of a query in a document.
But the defination of getSpan(IndexReader) in the SpanQuery is changed
to getSpan(IndexReaderContext, Bits, Map) with no information on
parameters of this new Defination.
Can someone help with the parameters of this new definition and how to
get the value for these parameter?
I know how to get the IndexReaderContext but I don't have clue about
other parameters.

-- 
Thanks,
A

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to