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