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


Loading...
Searching...
No Matches
LowerCaseFilter.h
Go to the documentation of this file.
1
2// Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3// Distributable under the terms of either the Apache License (Version 2.0)
4// or the GNU Lesser General Public License.
6
7#ifndef LOWERCASEFILTER_H
8#define LOWERCASEFILTER_H
9
10#include "TokenFilter.h"
11
12namespace Lucene {
13
15class LPPAPI LowerCaseFilter : public TokenFilter {
16public:
19
21
22protected:
24
25public:
26 virtual bool incrementToken();
27};
28
29}
30
31#endif
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Normalizes token text to lower case.
Definition LowerCaseFilter.h:15
LowerCaseFilter(const TokenStreamPtr &input)
virtual bool incrementToken()
Consumers (ie., IndexWriter) use this method to advance the stream to the next token....
TermAttributePtr termAtt
Definition LowerCaseFilter.h:23
A TokenFilter is a TokenStream whose input is another TokenStream.
Definition TokenFilter.h:18
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< TokenStream > TokenStreamPtr
Definition LuceneTypes.h:63
boost::shared_ptr< TermAttribute > TermAttributePtr
Definition LuceneTypes.h:58

clucene.sourceforge.net