lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajnish kamboj <>
Subject How to get all matched terms in a PrefixQuery
Date Tue, 13 Sep 2016 15:25:41 GMT

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?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message