Method Render
Render(SearchDefinitionRenderContext<TDocument>)
Renders the score function to a BsonDocument.
[Obsolete("Use Render(RenderArgs<TDocument> args) overload instead.")]
public virtual BsonDocument Render(SearchDefinitionRenderContext<TDocument> renderContext)
Parameters
renderContext
SearchDefinitionRenderContext<TDocument>The render arguments.
Returns
Render(RenderArgs<TDocument>)
Renders the score function to a BsonDocument.
public abstract BsonDocument Render(RenderArgs<TDocument> args)
Parameters
args
RenderArgs<TDocument>The render arguments.