lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VIGNESH S <vigneshkln...@gmail.com>
Subject Multiphrase Query in Lucene 4.3
Date Wed, 25 Sep 2013 14:04:05 GMT
Hi,

In the Example of Multiphrase Query it is mentioned

"To use this class, to search for the phrase "Microsoft app*" first use
add(Term) on the term "Microsoft", then find all terms that have "app" as
prefix using IndexReader.terms(Term), and use MultiPhraseQuery.add(Term[]
terms) to add them to the query"


How can i replicate the Same in Lucene 4.3 since IndexReader.terms(Term) is
no more used

-- 
Thanks and Regards
Vignesh Srinivasan

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