From 5f35a08220cbb58b8243743a410ef5c293e3e9ba Mon Sep 17 00:00:00 2001 From: Cassandra Targett Date: Wed, 2 Aug 2017 13:46:42 -0500 Subject: [PATCH] SOLR-10310: Ref Guide updates for sow param default --- .../src/field-type-definitions-and-properties.adoc | 2 +- solr/solr-ref-guide/src/the-extended-dismax-query-parser.adoc | 2 +- solr/solr-ref-guide/src/the-standard-query-parser.adoc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/solr/solr-ref-guide/src/field-type-definitions-and-properties.adoc b/solr/solr-ref-guide/src/field-type-definitions-and-properties.adoc index c3c1b5d0b0f..205aa83b547 100644 --- a/solr/solr-ref-guide/src/field-type-definitions-and-properties.adoc +++ b/solr/solr-ref-guide/src/field-type-definitions-and-properties.adoc @@ -90,7 +90,7 @@ For multivalued fields, specifies a distance between multiple values, which prev `autoGeneratePhraseQueries`:: For text fields. If `true`, Solr automatically generates phrase queries for adjacent terms. If `false`, terms must be enclosed in double-quotes to be treated as phrases. `enableGraphQueries`:: -For text fields, applicable when querying with <>. Use `true` (the default) for field types with query analyzers including graph-aware filters, e.g., <> and <>. +For text fields, applicable when querying with <> (which is the default for the `sow` parameter). Use `true`, the default, for field types with query analyzers including graph-aware filters, e.g., <> and <>. + Use `false` for field types with query analyzers including filters that can match docs when some tokens are missing, e.g., <>. diff --git a/solr/solr-ref-guide/src/the-extended-dismax-query-parser.adoc b/solr/solr-ref-guide/src/the-extended-dismax-query-parser.adoc index 3b0bd49bc31..4b042bdd7c1 100644 --- a/solr/solr-ref-guide/src/the-extended-dismax-query-parser.adoc +++ b/solr/solr-ref-guide/src/the-extended-dismax-query-parser.adoc @@ -38,7 +38,7 @@ In addition to supporting all the DisMax query parser parameters, Extended Disma In addition to all the <>, Extended DisMax includes these query parameters: `sow`:: -Split on whitespace. If set to `false`, whitespace-separated term sequences will be provided to text analysis in one shot, enabling proper function of analysis filters that operate over term sequences, e.g., multi-word synonyms and shingles. Defaults to `true`, so text analysis is invoked separately for each individual whitespace-separated term. +Split on whitespace. If set to `true`, text analysis is invoked separately for each individual whitespace-separated term. The default is `false`; whitespace-separated term sequences will be provided to text analysis in one shot, enabling proper function of analysis filters that operate over term sequences, e.g., multi-word synonyms and shingles. `mm.autoRelax`:: If `true`, the number of clauses required (<>) will automatically be relaxed if a clause is removed (by e.g. stopwords filter) from some but not all <> fields. Use this parameter as a workaround if you experience that queries return zero hits due to uneven stopword removal between the `qf` fields. diff --git a/solr/solr-ref-guide/src/the-standard-query-parser.adoc b/solr/solr-ref-guide/src/the-standard-query-parser.adoc index b58c4f365e4..48af171f78f 100644 --- a/solr/solr-ref-guide/src/the-standard-query-parser.adoc +++ b/solr/solr-ref-guide/src/the-standard-query-parser.adoc @@ -36,7 +36,7 @@ Specifies the default operator for query expressions, overriding the default ope Specifies a default field, overriding the definition of a default field in the Schema. `sow`:: -Split on whitespace: if set to `false`, whitespace-separated term sequences will be provided to text analysis in one shot, enabling proper function of analysis filters that operate over term sequences, e.g. multi-word synonyms and shingles. Defaults to `true`: text analysis is invoked separately for each individual whitespace-separated term. +Split on whitespace. If set to `true`, which means text analysis is invoked separately for each individual whitespace-separated term. The default is `false`; whitespace-separated term sequences will be provided to text analysis in one shot, enabling proper function of analysis filters that operate over term sequences, e.g., multi-word synonyms and shingles. Default parameter values are specified in `solrconfig.xml`, or overridden by query-time values in the request.