strus  0.17
Public Member Functions | List of all members
strus::WeightingFunctionInterface Class Referenceabstract

Interface for a weighting function that can be used for ranking in the query evaluation. More...

#include <weightingFunctionInterface.hpp>

Public Member Functions

virtual ~WeightingFunctionInterface ()
 Destructor. More...
 
virtual
WeightingFunctionInstanceInterface
createInstance (const QueryProcessorInterface *processor) const =0
 Create an instance of this function for parametrization. More...
 
virtual FunctionDescription getDescription () const =0
 Get a description of the function for user help and introspection. More...
 

Detailed Description

Interface for a weighting function that can be used for ranking in the query evaluation.

Constructor & Destructor Documentation

virtual strus::WeightingFunctionInterface::~WeightingFunctionInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual WeightingFunctionInstanceInterface* strus::WeightingFunctionInterface::createInstance ( const QueryProcessorInterface processor) const
pure virtual

Create an instance of this function for parametrization.

Parameters
[in]processorprovider for query processing functions
Returns
the created function instance (ownership to caller)
virtual FunctionDescription strus::WeightingFunctionInterface::getDescription ( ) const
pure virtual

Get a description of the function for user help and introspection.

Returns
the description structure

The documentation for this class was generated from the following file: