elasticsearch/docs/reference
Jim Ferenczi 9d6fac809c Expose splitOnWhitespace in Query String Query (#20965)
This change adds an option called `split_on_whitespace` which prevents the query parser to split free text part on whitespace prior to analysis. Instead the queryparser would parse around only real 'operators'. Default to true.
For instance the query `"foo bar"` would let the analyzer of the targeted field decide how the tokens should be splitted.
Some options are missing in this change but I'd like to add them in a follow up PR in order to be able to simplify the backport in 5.x. The missing options (changes) are:
* A `type` option which similarly to the `multi_match` query defines how the free text should be parsed when multi fields are defined.
* Simple range query with additional tokens like ">100 50" are broken when `split_on_whitespace` is set to false. It should be possible to preserve this syntax and make the parser aware of this special syntax even when `split_on_whitespace` is set to false.
* Since all this options would make the `query_string_query` very similar to a match (multi_match) query we should be able to share the code that produce the final Lucene query.
2016-11-02 10:00:40 +01:00
..
aggregations Update scripted-metric-aggregation.asciidoc 2016-10-17 19:31:30 +02:00
analysis Fixed typos (#20843) 2016-10-10 14:51:47 -06:00
cat Docs: Adding Ukrainian analyzer 2016-10-31 18:20:39 +01:00
cluster Makes search action cancelable by task management API 2016-10-25 12:27:34 -10:00
docs Bump reindex-from-remote's buffer to 200mb 2016-11-01 13:19:28 -04:00
how-to Add support for quote_field_suffix to simple_query_string. (#21060) 2016-10-28 09:11:57 +02:00
images Docs: clarify calculation of sigma and lambda in function_score (#20267) 2016-09-02 14:41:07 +02:00
index-modules Add docs with up to date instructions on updating default similarity (#21242) 2016-11-01 16:14:20 -04:00
indices Merge pull request #20704 from johtani/remove_request_params_in_analyze_api 2016-10-27 17:43:18 +09:00
ingest make painless the default scripting language for ScriptProcessor (#20981) 2016-10-18 16:22:01 -07:00
mapping Fix typo in keyword.asciidoc (#21237) 2016-11-01 10:15:12 -04:00
migration Merge pull request #20704 from johtani/remove_request_params_in_analyze_api 2016-10-27 17:43:18 +09:00
modules Cleanup ScriptType (#21179) 2016-10-31 13:48:51 -07:00
query-dsl Expose splitOnWhitespace in Query String Query (#20965) 2016-11-02 10:00:40 +01:00
search Documentation updates for scroll API size parameter (#21229) 2016-11-01 15:55:09 -04:00
setup Add extra note about Java8 requirement to sub-install docs (#21190) 2016-11-01 15:52:09 -06:00
testing Fixed typos (#20843) 2016-10-10 14:51:47 -06:00
aggregations.asciidoc CONSOLEify some aggs docs 2016-10-03 09:22:56 -04:00
analysis.asciidoc First pass at improving analyzer docs (#18269) 2016-05-11 14:17:56 +02:00
api-conventions.asciidoc [DOCS] Add "version" to template and pipeline docs (#20407) 2016-10-18 11:56:18 -04:00
cat.asciidoc Adding built-in sorting capability to _cat apis. (#20658) 2016-10-11 12:29:22 -04:00
cluster.asciidoc Convert more docs to CONSOLE 2016-09-21 09:36:21 -04:00
docs.asciidoc Add support for waiting until a refresh occurs 2016-06-06 11:37:53 -04:00
getting-started.asciidoc Add note to getting-started doc about CONSOLE 2016-10-30 00:09:09 -04:00
glossary.asciidoc Improve glossary to not refer to types as "like a table" (#17704) 2016-04-13 14:29:47 +02:00
how-to.asciidoc Add support for quote_field_suffix to simple_query_string. (#21060) 2016-10-28 09:11:57 +02:00
index-modules.asciidoc Add a hard limit for index.number_of_shard (#20682) 2016-09-29 11:03:30 +02:00
index.asciidoc Fix Lucene version in the docs. 2016-10-28 14:50:46 +02:00
indices.asciidoc Removed the upgrade API docs 2016-10-11 12:21:46 +02:00
ingest.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
mapping.asciidoc Reorganised docs for mapping safeguard settings 2016-09-22 14:58:17 +02:00
modules.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
query-dsl.asciidoc Fixed broken xrefs to query-dsl-not-query, which has been removed. 2015-10-20 13:01:37 -07:00
redirects.asciidoc Add an indices-upgrade section to the docs redirects. 2016-10-11 12:39:02 +02:00
release-notes.asciidoc Remove links to release notes 2016-09-08 18:07:39 +02:00
search.asciidoc Makes search action cancelable by task management API 2016-10-25 12:27:34 -10:00
setup.asciidoc Die with dignity 2016-07-07 14:44:03 -04:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00