Class TermQuery
java.lang.Object
org.elasticsearch.xpack.esql.core.querydsl.query.Query
org.elasticsearch.xpack.esql.core.querydsl.query.TermQuery
Term query. It can be considered for scoring or not - filters that use term query as implementation will not use scoring,
but the Term full text function will
-
Field Summary
Fields inherited from class org.elasticsearch.xpack.esql.core.querydsl.query.Query
NO_SCORE_BOOST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QueryBuilderUsed internally to convert to retrieve aQueryBuilderby queries.booleaninthashCode()protected StringUsed byQuery.toString()to produce a pretty string.booleanscorable()Defines whether a query should contribute to the overall scoreterm()value()
-
Constructor Details
-
TermQuery
-
TermQuery
-
TermQuery
-
-
Method Details
-
term
-
value
-
caseInsensitive
-
asBuilder
Description copied from class:QueryUsed internally to convert to retrieve aQueryBuilderby queries. -
hashCode
public int hashCode() -
equals
-
innerToString
Description copied from class:QueryUsed byQuery.toString()to produce a pretty string.- Specified by:
innerToStringin classQuery
-
scorable
public boolean scorable()Description copied from class:QueryDefines whether a query should contribute to the overall score
-