-
Notifications
You must be signed in to change notification settings - Fork 25k
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
[Docs] Add docs for new semantic text query functionality #119520
[Docs] Add docs for new semantic text query functionality #119520
Conversation
Documentation preview: |
Pinging @elastic/es-docs (Team:Docs) |
Pinging @elastic/search-eng (Team:SearchOrg) |
Pinging @elastic/search-relevance (Team:Search - Relevance) |
@@ -10,6 +10,8 @@ provided text is analyzed before matching. | |||
The `match` query is the standard query for performing a full-text search, | |||
including options for fuzzy matching. | |||
|
|||
`Match` will also work against <<semantic-text, semantic_text>> fields. |
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.
Is it worth adding another note on what match query options can be used with semantic_text fields?
e.g. boost
can be used, but specifying fuzziness
has no impact when querying semantic_text
fields?
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.
Good callout, I will update that.
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.
Updated, LMKWYT!
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. @szabosteve is back so tagging for visibility too :)
run docs-build |
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.
The content you've added so far looks good. Should we also update the semantic query docs to call out how to perform advanced search using sparse_vector
or knn
, or at least reference back to each of those queries' docs pages there? We used to have an Advanced search on semantic_text fields section that we removed with the change to the new format, this functionality could be a good reason to bring it back.
@Mikep86 This is called out in the field docs. I don't think it should be part of the query docs, because the individual query docs typically refer only to their own queries. I do think we could supplement this with blogs and tutorials in the future, but that may be out of scope for the current PR. |
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!
💚 Backport successful
|
…9520) * Update docs with new semantic text functionality * PR feedback * PR feedback * PR Feedback
Documents the following changes from #119011, #118617 and #117839