Query analyzer context for analysing a multipart query.
More...
#include <bindingObjects.hpp>
Query analyzer context for analysing a multipart query.
QueryAnalyzeContext::~QueryAnalyzeContext |
( |
| ) |
|
|
inline |
QueryTermVector QueryAnalyzeContext::analyze |
( |
| ) |
|
Processes the next field of the queue for fields to analyzer. Does the tokenization and normalization and creates some typed terms out of it according the definition of the field type given.
- Returns
- list of terms (query field analyzer result)
void QueryAnalyzeContext::putField |
( |
unsigned int |
fieldNo, |
|
|
const String & |
fieldType, |
|
|
const String & |
fieldContent |
|
) |
| |
Define a query field.
- Parameters
-
[in] | fieldNo | index given to the field by the caller, to identify its results |
[in] | fieldType | name of the field type to use for analysis |
[in] | fieldContent | content string of the query field to analyze |
The documentation for this class was generated from the following file: