Method GetSimilarity
GetSimilarity(Searcher)
Expert: Returns the Similarity implementation to be used for this query. Subclasses may override this method to specify their own Similarity implementation, perhaps one that delegates through that of the Searcher. By default the Searcher's Similarity implementation is returned.
Declaration
public virtual Similarity GetSimilarity(Searcher searcher)
Parameters
Type | Name | Description |
---|---|---|
Searcher | searcher |
Returns
Type | Description |
---|---|
Similarity |