rsion.LUCENE_43, "label", analyzer
> > ).parse(label);
> > TopScoreDocCollector collector = TopScoreDocCollector.create(MAX_HITS,
> > true);
> > searcher.search(q, collector);
> > ScoreDoc[] hits = collector.topDocs().scoreDocs;
>
>
> Now I want to the the next search on
CENE_43, "label", analyzer
> ).parse(label);
> TopScoreDocCollector collector = TopScoreDocCollector.create(MAX_HITS,
> true);
> searcher.search(q, collector);
> ScoreDoc[] hits = collector.topDocs().scoreDocs;
Now I want to the the next search only in ScoreDoc object and in other
he score passed to this method is a raw score. In other
words, the
score will not necessarily be a float whose value is between 0 and 1.
Is this just stale documentation ?
On Sun, Nov 9, 2008 at 3:28 PM, ChadDavis
<[EMAIL PROTECTED]>wrote:
The sample code uses a ScoreDoc a
d 1.
Is this just stale documentation ?
On Sun, Nov 9, 2008 at 3:28 PM, ChadDavis <[EMAIL PROTECTED]>wrote:
The sample code uses a ScoreDoc array to hold the hits.
ScoreDoc[] hits = collector.topDocs().scoreDocs;
But the JavaDoc says "Expert: Returned by low-level search
impleme
other words, the
> score will not necessarily be a float whose value is between 0 and 1.
>
Is this just stale documentation ?
On Sun, Nov 9, 2008 at 3:28 PM, ChadDavis <[EMAIL PROTECTED]>wrote:
> The sample code uses a ScoreDoc array to hold the hits.
>
> ScoreDoc[] hits
The sample code uses a ScoreDoc array to hold the hits.
ScoreDoc[] hits = collector.topDocs().scoreDocs;
But the JavaDoc says "Expert: Returned by low-level search
implementations." Why would the tutorial sample code use an "expert" api?