Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
multi_match lenient query with boosted field crashes with NullPointerException #3797
A lenient multi_match query with a boosted field with type mismatch crashes. Simple example:
Interestingly, it works for internal _id field:
And it doesn't crash when there's no type mismatch:
Other queries for reference:
More information about error:
Happen the error in class LongFieldMapper.java in the method parsevalue(). The cause of error is a NumberFormatExpcetion, becuase the value(xyzzy) arrive in the method is String.
java.lang.NumberFormatException: For input string: "xyzzy"