xapian-core  1.4.26
Public Member Functions | Public Attributes | List of all members
FieldInfo Struct Reference

Information about how to handle a field prefix in the query string. More...

#include <queryparser_internal.h>

+ Collaboration diagram for FieldInfo:

Public Member Functions

 FieldInfo (filter_type type_, const string &prefix, const string &grouping_=string())
 
 FieldInfo (filter_type type_, Xapian::FieldProcessor *proc_, const string &grouping_=string())
 

Public Attributes

filter_type type
 The type of this field. More...
 
string grouping
 
vector< string > prefixes
 Field prefix strings. More...
 
Xapian::Internal::opt_intrusive_ptr< Xapian::FieldProcessorproc
 Field processor. Currently only one is supported. More...
 

Detailed Description

Information about how to handle a field prefix in the query string.

Definition at line 42 of file queryparser_internal.h.

Constructor & Destructor Documentation

◆ FieldInfo() [1/2]

FieldInfo::FieldInfo ( filter_type  type_,
const string &  prefix,
const string &  grouping_ = string() 
)
inline

Definition at line 54 of file queryparser_internal.h.

◆ FieldInfo() [2/2]

FieldInfo::FieldInfo ( filter_type  type_,
Xapian::FieldProcessor proc_,
const string &  grouping_ = string() 
)
inline

Definition at line 61 of file queryparser_internal.h.

Member Data Documentation

◆ grouping

string FieldInfo::grouping

Definition at line 46 of file queryparser_internal.h.

Referenced by Term::get_grouping().

◆ prefixes

vector<string> FieldInfo::prefixes

Field prefix strings.

Definition at line 49 of file queryparser_internal.h.

Referenced by Terms::add_positional_term(), and Xapian::QueryParser::Internal::parse_query().

◆ proc

Field processor. Currently only one is supported.

Definition at line 52 of file queryparser_internal.h.

◆ type

filter_type FieldInfo::type

The type of this field.

Definition at line 44 of file queryparser_internal.h.

Referenced by Xapian::QueryParser::Internal::parse_query().


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