You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2018/01/23 13:27:40 UTC

[08/51] lucene-solr:jira/solr-11714: Ref Guide: typos and small edits

Ref Guide: typos and small edits


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/60c6890f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/60c6890f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/60c6890f

Branch: refs/heads/jira/solr-11714
Commit: 60c6890ff07498c39178d6fb221d361148cbf95e
Parents: 4dac5aa
Author: Cassandra Targett <ct...@apache.org>
Authored: Thu Jan 11 08:39:57 2018 -0600
Committer: Cassandra Targett <ct...@apache.org>
Committed: Thu Jan 11 08:40:26 2018 -0600

----------------------------------------------------------------------
 solr/solr-ref-guide/src/distributed-requests.adoc |  2 +-
 solr/solr-ref-guide/src/format-of-solr-xml.adoc   |  2 +-
 solr/solr-ref-guide/src/suggester.adoc            | 12 ++++++------
 3 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/60c6890f/solr/solr-ref-guide/src/distributed-requests.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/distributed-requests.adoc b/solr/solr-ref-guide/src/distributed-requests.adoc
index c2f6d1c..f5aaff4 100644
--- a/solr/solr-ref-guide/src/distributed-requests.adoc
+++ b/solr/solr-ref-guide/src/distributed-requests.adoc
@@ -61,7 +61,7 @@ Or you can specify a list of replicas to choose from for a single shard (for loa
 http://localhost:8983/solr/gettingstarted/select?q=*:*&shards=localhost:7574/solr/gettingstarted|localhost:7500/solr/gettingstarted
 ----
 
-And of course, you can specify a list of shards (seperated by commas) each defined by a list of replicas (seperated by pipes). In this example, 2 shards are queried, the first being a random replica from shard1, the second being a random replica from the explicit pipe delimited list:
+And of course, you can specify a list of shards (separated by commas) each defined by a list of replicas (seperated by pipes). In this example, 2 shards are queried, the first being a random replica from shard1, the second being a random replica from the explicit pipe delimited list:
 
 [source,text]
 ----

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/60c6890f/solr/solr-ref-guide/src/format-of-solr-xml.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/format-of-solr-xml.adoc b/solr/solr-ref-guide/src/format-of-solr-xml.adoc
index 65ea9f0..a235943 100644
--- a/solr/solr-ref-guide/src/format-of-solr-xml.adoc
+++ b/solr/solr-ref-guide/src/format-of-solr-xml.adoc
@@ -155,7 +155,7 @@ Custom shard handlers can be defined in `solr.xml` if you wish to create a custo
 <shardHandlerFactory name="ShardHandlerFactory" class="qualified.class.name">
 ----
 
-Since this is a custom shard handler, sub-elements are specific to the implementation. The default and only shard handler provided by Solr is the HttpShardHandlerFactory in which case, the following sub-elements can be specified:
+Since this is a custom shard handler, sub-elements are specific to the implementation. The default and only shard handler provided by Solr is the `HttpShardHandlerFactory` in which case, the following sub-elements can be specified:
 
 `socketTimeout`::
 The read timeout for intra-cluster query and administrative requests. The default is the same as the `distribUpdateSoTimeout` specified in the `<solrcloud>` section.

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/60c6890f/solr/solr-ref-guide/src/suggester.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/suggester.adoc b/solr/solr-ref-guide/src/suggester.adoc
index f96d400..0f9e12e 100644
--- a/solr/solr-ref-guide/src/suggester.adoc
+++ b/solr/solr-ref-guide/src/suggester.adoc
@@ -194,22 +194,22 @@ An extension of the `AnalyzingInfixSuggester` which provides additional function
 This implementation uses the following additional properties:
 
 `blenderType`::
-Used to calculate weight coefficient using the position of the first matching word. Can be one of:
+Used to calculate weight coefficient using the position of the first matching word. Available options are:
 `position_linear`:::
-`weightFieldValue*(1 - 0.10*position)`: Matches to the start will be given a higher score. This is the default.
+`weightFieldValue * (1 - 0.10*position)`: Matches to the start will be given a higher score. This is the default.
 `position_reciprocal`:::
-`weightFieldValue/(1+position)`: Matches to the end will be given a higher score.
+`weightFieldValue / (1 + position)`: Matches to the end will be given a higher score.
 `exponent`::::
-An optional configuration variable for the position_reciprocal blenderType used to control how fast the score will increase or decrease. Default `2.0`.
+An optional configuration variable for `position_reciprocal` to control how fast the score will increase or decrease. Default `2.0`.
 
 `numFactor`::
 The factor to multiply the number of searched elements from which results will be pruned. Default is `10`.
 
 `indexPath`::
-When using `BlendedInfixSuggester` you can provide your own path where the index will get built. The default directory name is `blendedInfixSuggesterIndexDir` and will be created in your collections data directory.
+When using `BlendedInfixSuggester` you can provide your own path where the index will get built. The default directory name is `blendedInfixSuggesterIndexDir` and will be created in your collection's data directory.
 
 `minPrefixChars`::
-Minimum number of leading characters before PrefixQuery is used (the default is `4`). Prefixes shorter than this are indexed as character ngrams (increasing index size but making lookups faster).
+Minimum number of leading characters before PrefixQuery is used (the default is `4`). Prefixes shorter than this are indexed as character ngrams, which increases index size but makes lookups faster.
 
 This implementation supports <<Context Filtering>>.