You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by ash nix <ni...@gmail.com> on 2013/03/12 01:06:18 UTC

SpanQuery getSpan call in lucen 4

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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org