GroupBy
Descriptor that tells how to group elements together. 
Definition: queryAnalyzerContextInterface.hpp:34
 
virtual void putField(int fieldno, const std::string &fieldtype, const std::string &content)=0
Feed the analyzer with the a field of the query. 
 
virtual void groupElements(int groupid, const std::vector< int > &fieldnoList, const GroupBy &groupBy, bool groupSingle)=0
Group elements of the query together. 
 
virtual ~QueryAnalyzerContextInterface()
Destructor. 
Definition: queryAnalyzerContextInterface.hpp:25
 
Elements with same position are grouped together. 
Definition: queryAnalyzerContextInterface.hpp:36
 
Defines the context for analyzing queries for the strus IR engine. 
Definition: queryAnalyzerContextInterface.hpp:21
 
Every element gets its own group. 
Definition: queryAnalyzerContextInterface.hpp:37
 
Single element grouped and the element must exist. 
Definition: queryAnalyzerContextInterface.hpp:39
 
All elements are grouped together. 
Definition: queryAnalyzerContextInterface.hpp:38
 
virtual analyzer::QueryTermExpression analyze()=0
Analyze the term expression feeded with putField(unsigned int,const std::string&,const std::string&) ...