epugh commented on code in PR #1961: URL: https://github.com/apache/solr/pull/1961#discussion_r1340878722
########## solr/solr-ref-guide/modules/indexing-guide/pages/charfilterfactories.adoc: ########## Review Comment: I wonder if we should go ahead and rename the the from charfilteractories.adoc to charfilters.adoc? ########## solr/solr-ref-guide/modules/indexing-guide/pages/schema-elements.adoc: ########## @@ -95,18 +95,23 @@ However, `uniqueKey` will continue to work, as long as the field is properly use Similarity is a Lucene class used to score a document in searching. Each collection has one "global" Similarity. -By default Solr uses an implicit {solr-javadocs}/core/org/apache/solr/search/similarities/SchemaSimilarityFactory.html[`SchemaSimilarityFactory`] which allows individual field types to be configured with a "per-type" specific Similarity and implicitly uses `BM25Similarity` for any field type which does not have an explicit Similarity. +By default, Solr uses an implicit {solr-javadocs}/core/org/apache/solr/search/similarities/SchemaSimilarityFactory.html[`SchemaSimilarityFactory`] which allows individual field types to be configured with a "per-type" specific Similarity and implicitly uses `BM25Similarity` for any field type which does not have an explicit Similarity. This default behavior can be overridden by declaring a top level `<similarity/>` element in your schema, outside of any single field type. This similarity declaration can either refer directly to the name of a class with a no-argument constructor, such as in this example showing `BM25Similarity`: [source,xml] ---- -<similarity class="solr.BM25SimilarityFactory"/> +<similarity class="org.apache.lucene.search.similarities.BM25Similarity"/> Review Comment: Oh interesting... is this because lucene chnaged? Odd that it used to be in solr and now is in Lucene?? ########## solr/solr-ref-guide/modules/indexing-guide/pages/field-type-definitions-and-properties.adoc: ########## @@ -201,7 +201,7 @@ The table below includes the default value for most `FieldType` implementations |`sortMissingFirst`, `sortMissingLast` |Control the placement of documents when a sort field is not present. |`false` |`multiValued` |If `true`, indicates that a single document might contain multiple values for this field type. |`false` |`uninvertible` |If `true`, indicates that an `indexed="true" docValues="false"` field can be "un-inverted" at query time to build up large in memory data structure to serve in place of xref:docvalues.adoc[]. *Defaults to `true` for historical reasons, but users are strongly encouraged to set this to `false` for stability and use `docValues="true"` as needed.* |`true` -|`omitNorms` |If `true`, omits the norms associated with this field (this disables length normalization for the field, and saves some memory). *Defaults to true for all primitive (non-analyzed) field types, such as int, float, data, bool, and string.* Only full-text fields or fields need norms. |* +|`omitNorms` |If `true`, omits the norms associated with this field (this disables length normalization for the field, and saves some memory). *Defaults to true for all primitive (non-analyzed) field types, such as int, float, data, bool, and string.* Only full-text fields or ??? fields need norms. |* Review Comment: I wish I knew what went here too.. if nothing comes ot mind, lets just edit it to `full-text fields need norms.` ;-). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org