strusAnalyzer  0.17
Public Member Functions | List of all members
strus::analyzer::QueryElementView Class Reference

Structure describing the internal representation of a feature in the document analyzer. More...

#include <queryElementView.hpp>

Public Member Functions

 QueryElementView ()
 Default constructor. More...
 
 QueryElementView (const QueryElementView &o)
 Copy constructor. More...
 
 QueryElementView (const std::string &type_, const std::string &field_, const FunctionView &tokenizer_, const std::vector< FunctionView > &normalizer_, int priority_)
 Constructor. More...
 
const std::string & type () const
 Get the type. More...
 
const std::string & field () const
 Get the name of the query field. More...
 
const FunctionViewtokenizer () const
 Get the tokenizer. More...
 
const std::vector< FunctionView > & normalizer () const
 Get the list of normalizers. More...
 
int priority () const
 Get the priority of the feature. More...
 

Detailed Description

Structure describing the internal representation of a feature in the document analyzer.

Note
The internal representation may not be suitable for reconstructing the object

Constructor & Destructor Documentation

strus::analyzer::QueryElementView::QueryElementView ( )
inline

Default constructor.

strus::analyzer::QueryElementView::QueryElementView ( const QueryElementView o)
inline

Copy constructor.

strus::analyzer::QueryElementView::QueryElementView ( const std::string &  type_,
const std::string &  field_,
const FunctionView tokenizer_,
const std::vector< FunctionView > &  normalizer_,
int  priority_ 
)
inline

Constructor.

Parameters
[in]type_name of the function
[in]field_list of named parameters
[in]tokenizer_view of tokenizer
[in]normalizer_list of views of normalizers
[in]priority_priority of the feature

Member Function Documentation

const std::string& strus::analyzer::QueryElementView::field ( ) const
inline

Get the name of the query field.

const std::vector<FunctionView>& strus::analyzer::QueryElementView::normalizer ( ) const
inline

Get the list of normalizers.

int strus::analyzer::QueryElementView::priority ( ) const
inline

Get the priority of the feature.

const FunctionView& strus::analyzer::QueryElementView::tokenizer ( ) const
inline

Get the tokenizer.

const std::string& strus::analyzer::QueryElementView::type ( ) const
inline

Get the type.


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