Conversation
Collaborator
|
Pinging @elastic/es-docs |
Collaborator
|
Pinging @elastic/es-search |
62 tasks
jrodewig
commented
Aug 7, 2019
Contributor
Author
There was a problem hiding this comment.
Reworded and moved to query-string-query.asciidoc:
https://github.com/elastic/elasticsearch/pull/45296/files#diff-d1da0885c6d0812eedd305523174ba5cR19
62bf3a6 to
ecdd7d8
Compare
ecdd7d8 to
941e6a3
Compare
| ==== Example request | ||
|
|
||
| When running the following search, the `query_string` query splits `(new york | ||
| city) OR (big apple)` into two terms: `new york city` and `big apple`. The |
Contributor
There was a problem hiding this comment.
into two terms
term has another special meaning in ES/Lucene; a term is a unit of search - usually a token + field name . Let call these "into two parts"/"into two pieces of text" or something like this.
|
|
||
| When running the following search, the `query_string` query splits `(new york | ||
| city) OR (big apple)` into two terms: `new york city` and `big apple`. The | ||
| `content` field's analyzer then independently converts each term into tokens |
Contributor
There was a problem hiding this comment.
"term" - similarly here, it is better to call it something else.
mayya-sharipova
approved these changes
Aug 12, 2019
Contributor
mayya-sharipova
left a comment
There was a problem hiding this comment.
Thanks @jrodewig. Nice work!
Contributor
Author
|
Thanks for your review @mayya-sharipova! |
jrodewig
added a commit
that referenced
this pull request
Aug 12, 2019
jrodewig
added a commit
that referenced
this pull request
Aug 12, 2019
jrodewig
added a commit
that referenced
this pull request
Aug 12, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the
query_stringquery to use the new query format.This creates separate sections for the example request, parameters, and notes.
This is part of #40977, an effort to standardize documentation for query types.
Preview
http://elasticsearch_45296.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/query-dsl-query-string-query.html