fix compile error
ExtendedBounds cannot yet have its ParseFieldMatcher usage removed, reverted that bit.
This commit is contained in:
parent
7674de9e1f
commit
83a3f0e42c
|
@ -20,6 +20,7 @@
|
|||
package org.elasticsearch.search.aggregations.bucket.histogram;
|
||||
|
||||
import org.elasticsearch.common.ParseField;
|
||||
import org.elasticsearch.common.ParseFieldMatcherSupplier;
|
||||
import org.elasticsearch.common.io.stream.StreamInput;
|
||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||
import org.elasticsearch.common.io.stream.Writeable;
|
||||
|
@ -44,7 +45,7 @@ public class ExtendedBounds implements ToXContent, Writeable {
|
|||
static final ParseField MIN_FIELD = new ParseField("min");
|
||||
static final ParseField MAX_FIELD = new ParseField("max");
|
||||
|
||||
public static final ConstructingObjectParser<ExtendedBounds, Void> PARSER = new ConstructingObjectParser<>(
|
||||
public static final ConstructingObjectParser<ExtendedBounds, ParseFieldMatcherSupplier> PARSER = new ConstructingObjectParser<>(
|
||||
"extended_bounds", a -> {
|
||||
assert a.length == 2;
|
||||
Long min = null;
|
||||
|
|
Loading…
Reference in New Issue