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
12 namespace Lucene {
13
15 class LPPAPI LowerCaseFilter : public TokenFilter {
16 public:
17 LowerCaseFilter(const TokenStreamPtr& input);
18 virtual ~LowerCaseFilter();
19
20 LUCENE_CLASS(LowerCaseFilter);
21
22 protected:
23 TermAttributePtr termAtt;
24
25 public:
26 virtual bool incrementToken();
27};
28
29}
30
31#endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
TokenFilter.h
Lucene::LowerCaseFilter::~LowerCaseFilter
virtual ~LowerCaseFilter()
Lucene::LowerCaseFilter::LowerCaseFilter
LowerCaseFilter(const TokenStreamPtr &input)
Lucene::LowerCaseFilter::incrementToken
virtual bool incrementToken()
Consumers (ie., IndexWriter) use this method to advance the stream to the next token....
Lucene::LowerCaseFilter::termAtt
TermAttributePtr termAtt
Definition LowerCaseFilter.h:23
Lucene::TokenFilter::TokenFilter
TokenFilter(const TokenStreamPtr &input)
Construct a token stream filtering the given input.
Lucene::TokenFilter::input
TokenStreamPtr input
The source of tokens for this filter.
Definition TokenFilter.h:30
Lucene
Definition AbstractAllTermDocs.h:12
Lucene::TokenStreamPtr
boost::shared_ptr< TokenStream > TokenStreamPtr
Definition LuceneTypes.h:63
Lucene::TermAttributePtr
boost::shared_ptr< TermAttribute > TermAttributePtr
Definition LuceneTypes.h:58

clucene.sourceforge.net