NEST/.NET boost probably shouldn't be type double

I wanted to boost a particular field higher than others, using TermQuery the Boost parameter is of type double.

If I set the value to double.MaxValue I get a server error "boost must be a positive float, got Infinity"

Shouldn't Boost be a float then?

FYI setting the value to float.MaxValue seems to work

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.