I am using Apache Solr for my search functionality and I have encountered an unexpected behavior with the boost parameter in the eDisMax query parser. When I try to boost the score of the documents matching a certain query, the scores are getting boosted by the square of the boost value, rather than the expected linear boost.
Here is an example of the query I'm using:
select?q=_query_:"{!edismax}shirt"&qt=search.new&fl=score&boost=10
I expected this query to return the same documents as before but with their scores boosted by a factor of 10. However, the scores for all the documents are now 100 times greater. I have noticed the same behavior when trying different boost values, and in every case, the scores are getting boosted by the square of the boost value.
Can someone please explain why this is happening? Is this the default behavior of the boost parameter in eDisMax? Is there a way to achieve linear multiplicative score boosting instead?