In an function that eventually becomes a Solr query, I create a few TermQuery clauses that go into a BooleanQuery.

For each TermQuery, I do tq.setBoost( score ); where score is a float my app generates. This usually works except when the numbers get real small, like "2.712607e-4" that I just encountered. Solr seems to destroy the e bit, turning the boost into 2.712607 and added a default field search for "e 4".

Solr issue or my issue?



Reply via email to