Class SearchScoreFunction<TDocument>
Base class for search score functions.
public abstract class SearchScoreFunction<TDocument>
Type Parameters
TDocument
The type of the document.
- Inheritance
-
SearchScoreFunction<TDocument>
- Inherited Members
Methods
Render(SearchDefinitionRenderContext<TDocument>)
Renders the score function to a BsonDocument.
public abstract BsonDocument Render(SearchDefinitionRenderContext<TDocument> renderContext)
Parameters
renderContext
SearchDefinitionRenderContext<TDocument>The render context.