CLucene - a full-featured, c++ search engine
API Documentation


lucene::analysis::SimpleAnalyzer Class Reference

An Analyzer that filters LetterTokenizer with LowerCaseFilter. More...

#include <Analyzers.h>

Inheritance diagram for lucene::analysis::SimpleAnalyzer:
lucene::analysis::Analyzer lucene::debug::LuceneBase

List of all members.

Public Member Functions

TokenStreamtokenStream (const TCHAR *fieldName, lucene::util::Reader *reader)
 Creates a TokenStream which tokenizes all the text in the provided Reader.
 ~SimpleAnalyzer ()

Detailed Description

An Analyzer that filters LetterTokenizer with LowerCaseFilter.


Constructor & Destructor Documentation

lucene::analysis::SimpleAnalyzer::~SimpleAnalyzer (  )  [inline]

Member Function Documentation

TokenStream* lucene::analysis::SimpleAnalyzer::tokenStream ( const TCHAR *  fieldName,
lucene::util::Reader reader 
) [virtual]

Creates a TokenStream which tokenizes all the text in the provided Reader.

Default implementation forwards to tokenStream(Reader) for compatibility with older version. Override to allow Analyzer to choose strategy based on document and/or field. Must be able to handle null field name for backward compatibility.

Implements lucene::analysis::Analyzer.


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

clucene.sourceforge.net