we are making use of explain in order to understand the scoring of complex queries.
When trying to upgrade from 1.5.2 to 1.7.2 I noticed a regression regarding the explanation of hits on fields of type 'short' (I suspect other numeric fields might have the same issue).
I checked 1.6.0 and it has the same issue.
While I had entries like
"description"=>"ConstantScore(field:[13 TO 13]), product of:
this changed into
"ConstantScore(field:`\b\u0000\u0000\u0000\r), product of:"
(not sure if both samples are about the same field value)
so it's quite hard to see which value was matched.
The field is of type 'short' and the query part creating this hit
is something like
Is there anything I should/could do differently to avoid the issue or is this just a bug?
Not sure if it is on ES side or Lucene but ES 1.5.2, 1.6.0 and 1.7.2 seem to be all based on the same lucene version (4.10.4)