lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject SolrSharp boost - int vs. float
Date Thu, 05 Jul 2007 20:58:56 GMT
Hi,



Here is a quick one for Jeff R. about his SolrSharp client.  Looking at 

http://solrstuff.org/svn/solrsharp/src/Query/Parameters/QueryParameter.cs , I see boost defined
as an int(eger):


private int _boost = 1;



Lucene's boosts are floats (see http://lucene.apache.org/java/2_2_0/api/org/apache/lucene/search/Query.html#getBoost()
)



Is there a reason boosts are ints in SolrSharp?



Thanks,

Otis





Mime
View raw message