elasticsearch/docs/reference/rest-api
Tommaso Teofili 7bff3b3bec
Add modelId and modelText to KnnVectorQueryBuilder (#106068)
* Add modelId and modelText to KnnVectorQueryBuilder

Use QueryVectorBuilder within KnnVectorQueryBuilder to make it
possible to perform knn queries also when a query vector is not
immediately available. Supplying a text_embedding query_vector_builder
with model_text and model_id instead of the query_vector will result
in the generation of a query_vector by calling inference on the
specified model_id with the supplied model_text (during query
rewrite). This is consistent with the way query vectors are built
from model_id / model_text in KnnSearchBuilder (DFS phase).
2024-03-18 16:13:38 +01:00
..
logstash [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
security [DOCS] Fixes get settings and update settings security API docs (#105686) 2024-02-21 15:06:32 +01:00
watcher [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
common-options.asciidoc Typo in example of the filter_path option (#84551) (#84661) 2022-03-04 09:10:55 -05:00
common-parms.asciidoc Add modelId and modelText to KnnVectorQueryBuilder (#106068) 2024-03-18 16:13:38 +01:00
cron-expressions.asciidoc [DOCS] Add info about GET/POST to the API conventions. (#74529) 2021-06-30 09:24:42 -07:00
defs.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00
index.asciidoc Endpoint to test Grok pattern (#104394) 2024-01-24 09:35:59 +01:00
info.asciidoc Enable Universal Profiling as Enterprise feature (#100333) 2023-10-09 07:58:04 +02:00
rest-api-compatibility.asciidoc [DOCS] Link to the 7.17 upgrade assistant docs (#83613) (#83615) 2022-02-07 18:29:26 -05:00
security.asciidoc [DOCS] Fixes get settings and update settings security API docs (#105686) 2024-02-21 15:06:32 +01:00
usage.asciidoc ESQL: New telemetry for commands (#102937) 2023-12-06 02:24:00 +02:00
watcher.asciidoc [DOCS] Move x-pack docs to docs/reference dir (#99209) 2023-09-12 14:53:41 -04:00