Class ChiSquare.ChiSquareBuilder
java.lang.Object
org.elasticsearch.search.aggregations.bucket.terms.heuristic.NXYSignificanceHeuristic.NXYBuilder
org.elasticsearch.search.aggregations.bucket.terms.heuristic.ChiSquare.ChiSquareBuilder
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment,SignificanceHeuristicBuilder
- Enclosing class:
- ChiSquare
public static class ChiSquare.ChiSquareBuilder extends NXYSignificanceHeuristic.NXYBuilder
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.bucket.terms.heuristic.NXYSignificanceHeuristic.NXYBuilder
backgroundIsSuperset, includeNegatives -
Constructor Summary
Constructors Constructor Description ChiSquareBuilder(boolean includeNegatives, boolean backgroundIsSuperset) -
Method Summary
Modifier and Type Method Description org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)Methods inherited from class org.elasticsearch.search.aggregations.bucket.terms.heuristic.NXYSignificanceHeuristic.NXYBuilder
build
-
Constructor Details
-
ChiSquareBuilder
public ChiSquareBuilder(boolean includeNegatives, boolean backgroundIsSuperset)
-
-
Method Details
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Throws:
java.io.IOException
-