You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: protos/schemas/common.proto
-18Lines changed: 0 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1343,15 +1343,9 @@ message QueryContainer {
1343
1343
// A Boolean (bool) query can combine several query clauses into one advanced query. The clauses are combined with Boolean logic to find matching documents returned in the results.
1344
1344
BoolQuerybool=1;
1345
1345
1346
-
// A boosting query returns documents that match a positive query. Among those documents, the ones that also match the negative query are scored lower in relevance (their relevance score is multiplied by the negative boosting factor).
1347
-
BoostingQueryboosting=2;
1348
-
1349
1346
// A constant_score query wraps a filter query and assigns all documents in the results a relevance score equal to the value of the boost parameter.
1350
1347
ConstantScoreQueryconstant_score=3;
1351
1348
1352
-
// A disjunction max (dis_max) query returns any document that matches one or more query clauses. For documents that match multiple query clauses, the relevance score is set to the highest relevance score from all matching query clauses.
1353
-
DisMaxQuerydis_max=4;
1354
-
1355
1349
// Use a function_score query if you need to alter the relevance scores of documents returned in the results. A function_score query defines a query and one or more functions that can be applied to all results or subsets of the results to recalculate their relevance scores.
1356
1350
FunctionScoreQueryfunction_score=5;
1357
1351
@@ -1400,15 +1394,6 @@ message QueryContainer {
1400
1394
// A multi-match operation functions similarly to the match operation. You can use a multi_match query to search multiple fields.
1401
1395
MultiMatchQuerymulti_match=20;
1402
1396
1403
-
// A query_string query parses the query string based on the query string syntax. It provides for creating powerful yet concise queries that can incorporate wildcards and search multiple fields.
1404
-
QueryStringQueryquery_string=21;
1405
-
1406
-
// Use the simple_query_string type to specify multiple arguments delineated by regular expressions directly in the query string. Simple query string has a less strict syntax than query string because it discards any invalid portions of the string and does not return errors for invalid syntax.
1407
-
SimpleQueryStringQuerysimple_query_string=22;
1408
-
1409
-
// Returns documents based on the order and proximity of matching terms.
1410
-
IntervalsQueryintervals=23;
1411
-
1412
1397
// Knn query is to search for the k-nearest neighbors to a query point across an index of vectors. To determine the neighbors, you can specify the space (the distance function) you want to use to measure the distance between points.
1413
1398
KnnQueryknn=24;
1414
1399
@@ -1418,9 +1403,6 @@ message QueryContainer {
1418
1403
// This is the inverse of the match_all query, which matches no documents.
1419
1404
MatchNoneQuerymatch_none=26;
1420
1405
1421
-
// Use a script_score query to customize the score calculation by using a script. For an expensive scoring function, you can use a script_score query to calculate the score only for the returned documents that have been filtered.
1422
-
ScriptScoreQueryscript_score=27;
1423
-
1424
1406
// The nested query acts as a wrapper for other queries to search nested fields. The nested field objects are searched as though they were indexed as separate documents. If an object matches the search, the nested query returns the parent document at the root level.
0 commit comments