lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ash nix <nixd...@gmail.com>
Subject SpanQuery getSpan call in lucen 4
Date Tue, 12 Mar 2013 00:06:18 GMT
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


Mime
View raw message