I just upgraded to 0.19.9 and my test suite (using Java client) found a
minor regression that I wanted to double-check with the experts.
Calling QueryBuilders.boolQuery().minimumNumberShouldMatch( 1 ) generates
different json 0.19.8 and 0.19.9:
0.19.8
"bool" : {
"minimum_number_should_match" : 1
}
0.19.9
"bool" : {
"minimum_should_match" : "1"
}
This is minor - however I just want to make sure we are not breaking
compatiblity at the Json level.
I just upgraded to 0.19.9 and my test suite (using Java client) found a
minor regression that I wanted to double-check with the experts. Calling
QueryBuilders.boolQuery().minimumNumberShouldMatch( 1 ) generates different
json 0.19.8 and 0.19.9:
0.19.8
"bool" : {
"minimum_number_should_match" : 1
}
0.19.9
"bool" : {
"minimum_should_match" : "1"
}
This is minor - however I just want to make sure we are not breaking
compatiblity at the Json level.
I just upgraded to 0.19.9 and my test suite (using Java client) found a
minor regression that I wanted to double-check with the experts. Calling
QueryBuilders.boolQuery().minimumNumberShouldMatch( 1 ) generates different
json 0.19.8 and 0.19.9:
0.19.8
"bool" : {
"minimum_number_should_match" : 1
}
0.19.9
"bool" : {
"minimum_should_match" : "1"
}
This is minor - however I just want to make sure we are not breaking
compatiblity at the Json level.
The current behavior is fully backward compatible with previous versions. The json generated generates minimum_should_match, but minimum_number_should_match also works.
The idea was the streamline all places where the parameter is applicable to use the same name (minimum_should_match), and also streamline the support for more complex expression there except for "5" (or a number). For example, using percentage like "20%". This should be properly documented (the syntax) and referred to in the different queries it applies to.
I just upgraded to 0.19.9 and my test suite (using Java client) found a
minor regression that I wanted to double-check with the experts. Calling
QueryBuilders.boolQuery().minimumNumberShouldMatch( 1 ) generates different
json 0.19.8 and 0.19.9:
0.19.8
"bool" : {
"minimum_number_should_match" : 1
}
0.19.9
"bool" : {
"minimum_should_match" : "1"
}
This is minor - however I just want to make sure we are not breaking
compatiblity at the Json level.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.