lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Šplíchal Jiří <splic...@tovek.cz>
Subject Constant score queries
Date Fri, 06 Aug 2010 10:07:57 GMT
Hello,

 

I am working with ConstantScoreQuery and ConstantScoreRangeQuery. Both shoud according to
the description

return the value of their boost as score for all matching documents.

However I always get the score 1.0 and also in the TestConstantScoreRangeQuery. testBoost()
method,

the boost is set to 100, but the test checks that the score is 1.0f.

 

So how should the constant score queries work in real? 

Thank you

 

--

Jiří Šplíchal

TOVEK, spol. s r.o.

splichal@tovek.cz

+420 606671930

 

--

Jiří Šplíchal

TOVEK, spol. s r.o.

splichal@tovek.cz <mailto:splichal@tovek.cz> 

+420 606671930

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message