Hi all.
I'm trying to find a precise and reasonably efficient way to highlight
all occurrences of terms in the query, only highlighting fields which
match the corresponding fields used in the query. This seems like it
would be a fairly common requirement in applications. We have an
existing implem
Yes, positions for a given term are monotonically increasing.
Note that this is an old API; it's been replaced with the "normal"
postings API in 4.x.
Mike McCandless
http://blog.mikemccandless.com
On Mon, Feb 3, 2014 at 6:53 AM, andi rexha wrote:
> Hi,
> I am extracting term vectors position
Hi,
I am extracting term vectors position in Lucene 3.6. First I extract the term
vector and get the indexes from the "indexOf" method as suggested for
extracting the position.
TermPositionVector termFreqVector = (TermPositionVector)
reader.getTermFreqVector(i, termField);
String[] terms = ter