Hi

How can I get all matched terms of a document in PrefixQuery?

Term t2 = new Term("contents", "br");
PrefixQuery query = new PrefixQuery(t2);

Suppose I have few documents with 1000 different terms.
Search is showing me the document in which it find the br words.

Now, how can I get all the br words in the document?



Thanks
Raj

Reply via email to