Logo Search packages:      
Sourcecode: qt4-x11 version File versions

Analyzer Class Reference

#include <AnalysisHeader.h>

Inheritance diagram for Analyzer:

KeywordAnalyzer PerFieldAnalyzerWrapper SimpleAnalyzer StandardAnalyzer StopAnalyzer WhitespaceAnalyzer

List of all members.


Detailed Description

An Analyzer builds TokenStreams, which analyze text. It thus represents a policy for extracting index terms from text.

Typical implementations first build a Tokenizer, which breaks the stream of characters from the Reader into raw Tokens. One or more TokenFilters may then be applied to the output of the Tokenizer.

WARNING: You must override one of the methods defined by this class in your subclass or the Analyzer will enter an infinite loop.

Definition at line 161 of file AnalysisHeader.h.


Public Member Functions

virtual int32_t getPositionIncrementGap (const TCHAR *fieldName)
virtual TokenStreamtokenStream (const TCHAR *fieldName, CL_NS(util)::Reader *reader)=0

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

Generated by  Doxygen 1.6.0   Back to index