Class NXYSignificanceHeuristic

java.lang.Object
org.elasticsearch.search.aggregations.bucket.terms.heuristic.SignificanceHeuristic
org.elasticsearch.search.aggregations.bucket.terms.heuristic.NXYSignificanceHeuristic
All Implemented Interfaces:
NamedWriteable, Writeable, ToXContent, ToXContentFragment
Direct Known Subclasses:
ChiSquare, GND, MutualInformation

public abstract class NXYSignificanceHeuristic extends SignificanceHeuristic
  • Field Details

    • BACKGROUND_IS_SUPERSET

      protected static final ParseField BACKGROUND_IS_SUPERSET
    • INCLUDE_NEGATIVES_FIELD

      protected static final ParseField INCLUDE_NEGATIVES_FIELD
    • SCORE_ERROR_MESSAGE

      protected static final String SCORE_ERROR_MESSAGE
    • backgroundIsSuperset

      protected final boolean backgroundIsSuperset
    • includeNegatives

      protected final boolean includeNegatives
      Some heuristics do not differentiate between terms that are descriptive for subset or for the background without the subset. We might want to filter out the terms that are appear much less often in the subset than in the background without the subset.
  • Constructor Details

    • NXYSignificanceHeuristic

      protected NXYSignificanceHeuristic(boolean includeNegatives, boolean backgroundIsSuperset)
    • NXYSignificanceHeuristic

      protected NXYSignificanceHeuristic(StreamInput in) throws IOException
      Read from a stream.
      Throws:
      IOException
  • Method Details