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


NormalizeCharMap.h
Go to the documentation of this file.
1 // 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 NORMALIZECHARMAP_H
8 #define NORMALIZECHARMAP_H
9 
10 #include "LuceneObject.h"
11 
12 namespace Lucene {
13 
15 class LPPAPI NormalizeCharMap : public LuceneObject {
16 public:
18  virtual ~NormalizeCharMap();
19 
21 
22 public:
23  MapCharNormalizeCharMap submap;
24  String normStr;
25  int32_t diff;
26 
27 public:
33  void add(const String& singleMatch, const String& replacement);
34 };
35 
36 }
37 
38 #endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::NormalizeCharMap::submap
MapCharNormalizeCharMap submap
Definition: NormalizeCharMap.h:20
Lucene::NormalizeCharMap::add
void add(const String &singleMatch, const String &replacement)
Records a replacement to be applied to the inputs stream. Whenever singleMatch occurs in the input,...
Lucene::NormalizeCharMap::~NormalizeCharMap
virtual ~NormalizeCharMap()
Lucene::NormalizeCharMap::diff
int32_t diff
Definition: NormalizeCharMap.h:25
Lucene::NormalizeCharMap::normStr
String normStr
Definition: NormalizeCharMap.h:24
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::LuceneObject
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Lucene::NormalizeCharMap
Holds a map of String input to String output, to be used with MappingCharFilter.
Definition: NormalizeCharMap.h:15
Lucene::NormalizeCharMap::NormalizeCharMap
NormalizeCharMap()
LuceneObject.h

clucene.sourceforge.net