Module org.elasticsearch.server
Package org.elasticsearch.index.query
Class AutomatonQueryWithDescription
java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.search.MultiTermQuery
org.apache.lucene.search.AutomatonQuery
org.elasticsearch.index.query.AutomatonQueryWithDescription
- All Implemented Interfaces:
org.apache.lucene.util.Accountable
public class AutomatonQueryWithDescription
extends org.apache.lucene.search.AutomatonQuery
A specialized
AutomatonQuery that includes a description of the query.
This can be useful for debugging or logging purposes, providing more context
about the query being executed.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.MultiTermQuery
org.apache.lucene.search.MultiTermQuery.RewriteMethod, org.apache.lucene.search.MultiTermQuery.TopTermsBlendedFreqScoringRewrite, org.apache.lucene.search.MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite, org.apache.lucene.search.MultiTermQuery.TopTermsScoringBooleanQueryRewrite -
Field Summary
Fields inherited from class org.apache.lucene.search.AutomatonQuery
automaton, automatonIsBinary, compiled, termFields inherited from class org.apache.lucene.search.MultiTermQuery
CONSTANT_SCORE_BLENDED_REWRITE, CONSTANT_SCORE_BOOLEAN_REWRITE, CONSTANT_SCORE_REWRITE, DOC_VALUES_REWRITE, field, rewriteMethod, SCORING_BOOLEAN_REWRITEFields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
ConstructorsConstructorDescriptionAutomatonQueryWithDescription(org.apache.lucene.index.Term term, org.apache.lucene.util.automaton.Automaton automaton, String description) -
Method Summary
Methods inherited from class org.apache.lucene.search.AutomatonQuery
equals, getAutomaton, getCompiled, getTermsEnum, hashCode, isAutomatonBinary, ramBytesUsed, visitMethods inherited from class org.apache.lucene.search.MultiTermQuery
getField, getRewriteMethod, getTermsCount, getTermsEnum, rewriteMethods inherited from class org.apache.lucene.search.Query
classHash, createWeight, sameClassAs, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
Constructor Details
-
AutomatonQueryWithDescription
public AutomatonQueryWithDescription(org.apache.lucene.index.Term term, org.apache.lucene.util.automaton.Automaton automaton, String description)
-
-
Method Details
-
toString
- Overrides:
toStringin classorg.apache.lucene.search.AutomatonQuery
-