lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamer Gür <t...@ebi.ac.uk>
Subject Document boosting
Date Tue, 30 Apr 2013 14:45:39 GMT
Hi,

we are migrating from 3.6 to 4.2. since Document.setBoost() method 
removed we are trying to reimplement.

Currently we are using Document.setBoost() method as a scalar boost 
factor across our multiple different indexes.

With the lucene 4.2 setting this factor by field.setBoost() is not 
feasible for us since we have many indexes and complex fields.

So what is  possible drawback if i override DefaultSimilarity and put 
back the Document.setBoost() during norm calculation?
or is there any other way  to add a scalar factor to all document?

Thank you.
Tamer



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