lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajnish kamboj <rajnishk7.i...@gmail.com>
Subject How to get all matched terms in a PrefixQuery
Date Tue, 13 Sep 2016 15:25:41 GMT
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

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