## Uses of Class
org.apache.solr.schema.SimilarityFactory

- Packages that use SimilarityFactory
  Package | Description
  --- | ---
  org.apache.solr.schema | `IndexSchema` and `FieldType` implementations for powering schema.xml
  org.apache.solr.search.similarities | Factories for various built-in Lucene ranking models.

- - ### Uses of SimilarityFactory in org.apache.solr.schema

    Fields in org.apache.solr.schema declared as SimilarityFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected SimilarityFactory` | IndexSchema.`similarityFactory`
    `protected SimilarityFactory` | FieldType.`similarityFactory`

    Methods in org.apache.solr.schema that return SimilarityFactory
    Modifier and Type | Method and Description
    --- | ---
    `SimilarityFactory` | IndexSchema.`getSimilarityFactory()` Returns the SimilarityFactory that constructed the Similarity for this index
    `SimilarityFactory` | FieldType.`getSimilarityFactory()` Gets the factory for the Similarity used when scoring fields of this type

    Methods in org.apache.solr.schema with parameters of type SimilarityFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | FieldType.`setSimilarity(SimilarityFactory similarityFactory)` Sets the Similarity used when scoring fields of this type

  - ### Uses of SimilarityFactory in org.apache.solr.search.similarities

    Subclasses of SimilarityFactory in org.apache.solr.search.similarities
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BM25SimilarityFactory` Factory for `BM25Similarity`
    `class` | `ClassicSimilarityFactory` Factory for `ClassicSimilarity`
    `class` | `DFISimilarityFactory` Factory for `DFISimilarity`
    `class` | `DFRSimilarityFactory` Factory for `DFRSimilarity`
    `class` | `IBSimilarityFactory` Factory for `IBSimilarity`
    `class` | `LMDirichletSimilarityFactory` Factory for `LMDirichletSimilarity`
    `class` | `LMJelinekMercerSimilarityFactory` Factory for `LMJelinekMercerSimilarity`
    `class` | `SchemaSimilarityFactory` `SimilarityFactory` that returns a global `PerFieldSimilarityWrapper` that delegates to the field type, if it's configured.
    `class` | `SweetSpotSimilarityFactory` Factory for `SweetSpotSimilarity`.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.