Re: Search in a specific ScoreDoc result

2013-09-17 Thread Erick Erickson
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

Search in a specific ScoreDoc result

2013-09-17 Thread David Miranda
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

Re: ScoreDoc

2008-11-09 Thread Mark Miller
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

Re: ScoreDoc

2008-11-09 Thread Mark Miller
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

Re: ScoreDoc

2008-11-09 Thread ChadDavis
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

ScoreDoc

2008-11-09 Thread ChadDavis
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?