Re: [CLucene-dev] Score with no normalization

2009-10-14 Thread Onilton Maciel
llect(const int32_t doc, const float_t score){ >> bits->set(doc); >> } >> } >> >> If necessary, there are a few of those classes in the core >> (MultiHitCollector, SimpleTopDocsCollector and several more). >> >> ----------

Re: [CLucene-dev] Score with no normalization

2009-10-14 Thread Onilton Maciel
> > If necessary, there are a few of those classes in the core > (MultiHitCollector, SimpleTopDocsCollector and several more). > > -- > *From:* Onilton Maciel [mailto:oniltonmac...@gmail.com] > *Sent:* Wednesday, October 14, 2009 3:25 PM > *To:* clucene-deve

Re: [CLucene-dev] Score with no normalization

2009-10-14 Thread Itamar Syn-Hershko
ts.sourceforge.net Subject: Re: [CLucene-dev] Score with no normalization The compiler complains about new HitCollector() { public void collect(int32_t doc, float score) { bits.set(doc); } } On Wed, Oct 14, 2009 at 6:35 AM, Onilton Maciel wrote: This one

Re: [CLucene-dev] Score with no normalization

2009-10-14 Thread Onilton Maciel
The compiler complains about new HitCollector() { public void collect(int32_t doc, float score) { bits.set(doc); } } On Wed, Oct 14, 2009 at 6:35 AM, Onilton Maciel wrote: > This one > >Searcher >

Re: [CLucene-dev] Score with no normalization

2009-10-14 Thread Onilton Maciel
This one Searcher searcher = new IndexSearcher(indexReader); final BitSet bits = new BitSet(indexReader.maxDoc()); searcher.search(query, new HitCollector() { public void collect(int32_t doc, float s

Re: [CLucene-dev] Score with no normalization

2009-10-14 Thread Ben van Klinken
Which example were you looking at? Using a hitcollector is probably the best way to go. ben 2009/10/13 Onilton Maciel : > Are there anyway to get the score of Hits class without the normalization? I > mean the raw value, not between 0 and 1. > > > I looked at the documentation. And thought HitCo