lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szzoli <reg9sz...@freemail.hu>
Subject Re: Lucene 6.1: number of hits per document
Date Wed, 31 Aug 2016 08:33:15 GMT
I used:

		Analyzer analyzer = new StandardAnalyzer();
		QueryParser parser = new QueryParser(field, analyzer);

		Query query = parser.parse(queryString); 

TermQuery cannot be created this way. 
Scorer.freq(),  Collector.setScorer() how can be obtained?

To
Mikhail Khludnev-2:
 What is
" fl=*,tf(text,'run') " ?




--
View this message in context: http://lucene.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per-document-tp4293245p4294117.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message