-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group vector queries into new section #110722
Group vector queries into new section #110722
Conversation
Documentation preview: |
Pinging @elastic/es-docs (Team:Docs) |
[[vector-queries]] | ||
== Vector queries | ||
|
||
Vector queries search efficiently for vectors in order to perform <<semantic-search,semantic search>>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be better phrase like this: "Vector queries are specialized queries that work on vector fields to efficiently perform semantic search"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@carlosdelest Thanks, makes sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great @carlosdelest!
One thought was to perhaps group text_expansion
and weighted_tokens
into an appendix called something like "Legacy vector queries" to communicate visually that they have been superseded. WDYT?
<<query-dsl-semantic-query,`semantic` query>>:: | ||
A query that allows you to perform semantic search on <<semantic-text,`semantic_text`>> fields. | ||
|
||
=== Deprecated vector queries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leemthompo , WDYT? I think adding an additional WARN is overkill, but double checking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note-perfect as always @carlosdelest 👍
@@ -12,6 +12,7 @@ A query used to search <<sparse-vector,`sparse_vector`>> field types. | |||
<<query-dsl-semantic-query,`semantic` query>>:: | |||
A query that allows you to perform semantic search on <<semantic-text,`semantic_text`>> fields. | |||
|
|||
[discrete] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
::shakes fist::
💚 Backport successful
|
Group together vector queries in a new Query DSL section. Moves vector queries from the specialized queries section.
This helps creating a base page for vector queries, avoid the queries being scattered, and cleans up a bit the Query DSL section.
This is the new Query DSL layout: