From d0a99af7efe81f2090663f23823e8f4104b837bf Mon Sep 17 00:00:00 2001 From: Cassandra Targett Date: Thu, 31 Aug 2017 13:43:28 -0500 Subject: [PATCH] Ref Guide: Doc updates for SOLR-10046, SOLR-10929, SOLR-11021 --- .../src/indexconfig-in-solrconfig.adoc | 2 +- .../src/the-query-elevation-component.adoc | 12 +++++++----- .../working-with-external-files-and-processes.adoc | 6 ++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/solr/solr-ref-guide/src/indexconfig-in-solrconfig.adoc b/solr/solr-ref-guide/src/indexconfig-in-solrconfig.adoc index d81936fb199..69e6b6ab41e 100644 --- a/solr/solr-ref-guide/src/indexconfig-in-solrconfig.adoc +++ b/solr/solr-ref-guide/src/indexconfig-in-solrconfig.adoc @@ -66,7 +66,7 @@ Defines how merging segments is done. The default in Solr is to use a `TieredMergePolicy`, which merges segments of approximately equal size, subject to an allowed number of segments per tier. -Other policies available are the `LogByteSizeMergePolicy` and `LogDocMergePolicy`. For more information on these policies, please see {lucene-javadocs}/core/org/apache/lucene/index/MergePolicy.html[the MergePolicy javadocs]. +Other policies available are the `LogByteSizeMergePolicy`, `LogDocMergePolicy`, and `UninvertDocValuesMergePolicy`. For more information on these policies, please see {lucene-javadocs}/core/org/apache/lucene/index/MergePolicy.html[the MergePolicy javadocs]. [source,xml] ---- diff --git a/solr/solr-ref-guide/src/the-query-elevation-component.adoc b/solr/solr-ref-guide/src/the-query-elevation-component.adoc index 638aa8163f0..3a44975f0bf 100644 --- a/solr/solr-ref-guide/src/the-query-elevation-component.adoc +++ b/solr/solr-ref-guide/src/the-query-elevation-component.adoc @@ -18,11 +18,11 @@ // specific language governing permissions and limitations // under the License. -The https://wiki.apache.org/solr/QueryElevationComponent[Query Elevation Component] lets you configure the top results for a given query regardless of the normal Lucene scoring. +The Query Elevation Component lets you configure the top results for a given query regardless of the normal Lucene scoring. -This is sometimes called "sponsored search," "editorial boosting," or "best bets." This component matches the user query text to a configured map of top results. The text can be any string or non-string IDs, as long as it's indexed. Although this component will work with any QueryParser, it makes the most sense to use with <> or <>. +This is sometimes called "sponsored search", "editorial boosting", or "best bets." This component matches the user query text to a configured map of top results. The text can be any string or non-string IDs, as long as it's indexed. Although this component will work with any QueryParser, it makes the most sense to use with <> or <>. -The https://wiki.apache.org/solr/QueryElevationComponent[Query Elevation Component] is supported by distributed searching. +The Query Elevation Component also supports distributed searching. All of the sample configuration and queries used in this section assume you are running Solr's "```techproducts```" example: @@ -71,9 +71,9 @@ Path to the file that defines query elevation. This file must exist in `>. + == Using the Query Elevation Component === The enableElevation Parameter diff --git a/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc b/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc index ac42636ca62..eb0c4c0e6d4 100644 --- a/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc +++ b/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc @@ -33,16 +33,14 @@ In `schema.xml`, the definition of this field type might look like this: [source,xml] ---- - + ---- The `keyField` attribute defines the key that will be defined in the external file. It is usually the unique key for the index, but it doesn't need to be as long as the `keyField` can be used to identify documents in the index. A `defVal` defines a default value that will be used if there is no entry in the external file for a particular document. -The `valType` attribute specifies the actual type of values that will be found in the file. The type specified must be either a float field type, so valid values for this attribute are `pfloat`, `float` or `tfloat`. This attribute can be omitted. - === Format of the External File -The file itself is located in Solr's index directory, which by default is `$SOLR_HOME/data`. The name of the file should be `external___fieldname__` or `external___fieldname__.*`. For the example above, then, the file could be named `external_entryRankFile` or `external_entryRankFile.txt`. +The file itself is located in Solr's index directory, which by default is `$SOLR_HOME/data`. The name of the file should be `external_fieldname_` or `external_fieldname_.*`. For the example above, then, the file could be named `external_entryRankFile` or `external_entryRankFile.txt`. [TIP] ====