On 3/21/07, Brian Whitman <[EMAIL PROTECTED]> wrote:
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?

I assume you are using the QueryParser? I don't believe the lucene
query parser supports scientific notation for boosts.

-Yonik

Reply via email to