lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dragan Jotanovic" <Dragan.Jotano...@DIOSPHERE.com>
Subject RE: Sorting in lucene through Document boosting
Date Mon, 15 Sep 2008 16:09:50 GMT
Hm, probably that is not needed. 
I thought that tf would influence the score if I don't set it to
constant value, but it seems that it is sufficient to override just
lengthNorm.



-----Original Message-----
From: Karl Wettin [mailto:karl.wettin@gmail.com] 
Sent: Monday, September 15, 2008 4:56 PM
To: java-user@lucene.apache.org
Subject: Re: Sorting in lucene through Document boosting


15 sep 2008 kl. 14.08 skrev Dragan Jotanovic:

> I made simple Similarity implementation:

> public float tf(float arg0) {
> 		return 1f;
> 	}

Why do you touch the term frequency? Is that prehaps unrelated to  
what's discussed in this thread?


       karl

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


---------------------------------------------------------------------
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