Class BooleanScriptFieldExistsQuery

java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<BooleanFieldScript>
org.elasticsearch.search.runtime.BooleanScriptFieldExistsQuery

public class BooleanScriptFieldExistsQuery extends AbstractScriptFieldQuery<BooleanFieldScript>
  • Constructor Details

  • Method Details

    • matches

      protected boolean matches(int trues, int falses)
      Does the value match this query?
      Parameters:
      trues - the number of true values returned by the script
      falses - the number of false values returned by the script
    • toString

      public final String toString(String field)
      Specified by:
      toString in class org.apache.lucene.search.Query
    • matches

      protected boolean matches(BooleanFieldScript scriptContext, int docId)
      Specified by:
      matches in class AbstractScriptFieldQuery<BooleanFieldScript>
    • visit

      public final void visit(org.apache.lucene.search.QueryVisitor visitor)
      Overrides:
      visit in class org.apache.lucene.search.Query