-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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 token graph concept docs #53339
[DOCS] Add token graph concept docs #53339
Conversation
Adds conceptual docs for token graphs. These docs cover: * How a token graph is constructed from a token stream * How synonyms and multi-position tokens impact token graphs * How token graphs are used during search * Why some token filters produce invalid token graphs Also makes the following supporting changes: * Adds anchors to the 'Anatomy of an Analyzer' docs for cross-linking * Adds several SVGs for token graph diagrams
Pinging @elastic/es-search (:Search/Analysis) |
Pinging @elastic/es-docs (>docs) |
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.
❤️ @jrodewig
I left one comment, we could also add a link to this new section in the synonym_graph
and word-delimiter-graph
docs ?
<<analysis-index-search-time,Indexing>> ignores the `positionLength` attribute | ||
and does not support token graphs containing multi-position tokens. | ||
|
||
However, queries, such as the <<query-dsl-match-query-phrase,`match_phrase`>> |
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.
match
queries are also affected. The input ny city
with a ny, new york
expansion creates an incorrect (ny OR new) AND york AND city
query with the synonym
filter.
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 updated this with d4a711d to mention the match
query.
Thanks @jimczi. I've added some cross-links to this page in the |
Adds conceptual docs for token graphs. These docs cover: * How a token graph is constructed from a token stream * How synonyms and multi-position tokens impact token graphs * How token graphs are used during search * Why some token filters produce invalid token graphs Also makes the following supporting changes: * Adds anchors to the 'Anatomy of an Analyzer' docs for cross-linking * Adds several SVGs for token graph diagrams
Adds conceptual docs for token graphs. These docs cover: * How a token graph is constructed from a token stream * How synonyms and multi-position tokens impact token graphs * How token graphs are used during search * Why some token filters produce invalid token graphs Also makes the following supporting changes: * Adds anchors to the 'Anatomy of an Analyzer' docs for cross-linking * Adds several SVGs for token graph diagrams
Adds conceptual docs for token graphs.
These docs cover:
Also makes the following supporting changes:
Preview link
http://elasticsearch_53339.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/token-graphs.html