mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
percolator: use correct version.
This commit is contained in:
parent
88d456989e
commit
a3d1248014
@ -343,7 +343,7 @@ public class PercolatorFieldMapper extends FieldMapper {
|
||||
|
||||
static void createQueryBuilderField(Version indexVersion, BinaryFieldMapper qbField,
|
||||
QueryBuilder queryBuilder, ParseContext context) throws IOException {
|
||||
if (indexVersion.onOrAfter(Version.V_6_0_0_beta1)) {
|
||||
if (indexVersion.onOrAfter(Version.V_6_1_0)) {
|
||||
try (ByteArrayOutputStream stream = new ByteArrayOutputStream()) {
|
||||
try (OutputStreamStreamOutput out = new OutputStreamStreamOutput(stream)) {
|
||||
out.setVersion(indexVersion);
|
||||
|
Loading…
x
Reference in New Issue
Block a user