An exception occurred when setting an integer to track_total_hits
.
The doc is written as set track_total_hits as an integer
.
Is there a way to set an integer?
Version
7.0.0-alpha2
Request
GET _search
{
"track_total_hits": 100,
"query": {
"match_all": {}
}
}
Response
{
"error": {
"root_cause": [
{
"type": "json_parse_exception",
"reason": "Current token (VALUE_NUMBER_INT) not of boolean type\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@6e6e840f; line: 2, column: 26]"
}
],
"type": "json_parse_exception",
"reason": "Current token (VALUE_NUMBER_INT) not of boolean type\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@6e6e840f; line: 2, column: 26]"
},
"status": 500
}