hi
I am wondering what is the difference between
collector.getTotalHits();//where collector is a TopScoreDocCollector
(which returns the correct value for my example = 2 docs)
and
collector.topDocs().totalHits (which returns 0, and is wrong)
the collector was used in a search: searcher.search
caused by this.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-----
From: R.A.Ittoo [mailto:r.a.it...@rug.nl]
Sent: Friday, October 16, 2009 11:38 AM
To: java-user@lucene.apache.org
Subject: which version
hi
i am us
hi
i am using lucene version 2.9
When calling the StandardAnalyzer constructor with the
VErsion.LUCENE_VERSION as parameter, I get the error
"symbol not found constructor
StandardAnalyzer(org.apache.lucene.util.Version)"
this is strange, as it is supposed to be correct according to the API
doc an