QueryType specifies the type of the query.
Enumeration value list
MATCH_QUERY specifies match query.
MATCH_PHRASE_QUERY specifies match phrase query.
TERM_QUERY specifies term query.
RANGE_QUERY specifies range query.
PREFIX_QUERY specifies prefix query.
BOOL_QUERY specifies Boolean query.
CONST_SCORE_QUERY specifies relevance query based on fixed scores.
FUNCTION_SCORE_QUERY specifies relevance query based on custom scores.
NESTED_QUERY specifies nested query.
WILDCARD_QUERY specifies wildcard query.
MATCH_ALL_QUERY specifies match all query.
GEO_BOUNDING_BOX_QUERY specifies geo-bounding box query.
GEO_DISTANCE_QUERY specifies geo-distance query.
GEO_POLYGON_QUERY specifies geo-polygon query.
TERMS_QUERY specifies terms query.
EXISTS_QUERY specifies exists query.
KNN_VECTOR_QUERY specifies KNN vector query.
enum QueryType {
MATCH_QUERY = 1;
MATCH_PHRASE_QUERY = 2;
TERM_QUERY = 3;
RANGE_QUERY = 4;
PREFIX_QUERY = 5;
BOOL_QUERY = 6;
CONST_SCORE_QUERY = 7;
FUNCTION_SCORE_QUERY = 8;
NESTED_QUERY = 9;
WILDCARD_QUERY = 10;
MATCH_ALL_QUERY = 11;
GEO_BOUNDING_BOX_QUERY = 12;
GEO_DISTANCE_QUERY = 13;
GEO_POLYGON_QUERY = 14;
TERMS_QUERY = 15;
EXISTS_QUERY = 16;
KNN_VECTOR_QUERY = 17;
}