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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DocInverterPerThread.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2011 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 DOCINVERTERPERTHREAD_H
8 #define DOCINVERTERPERTHREAD_H
9 
11 #include "AttributeSource.h"
12 
13 namespace Lucene
14 {
18  {
19  public:
20  DocInverterPerThread(DocFieldProcessorPerThreadPtr docFieldProcessorPerThread, DocInverterPtr docInverter);
21  virtual ~DocInverterPerThread();
22 
24 
25  public:
30 
33 
36 
37  public:
38  virtual void initialize();
39  virtual void startDocument();
40  virtual DocWriterPtr finishDocument();
41  virtual void abort();
43  };
44 
46  {
47  public:
50 
52 
53  public:
56 
57  public:
58  void reinit(const String& stringValue, int32_t startOffset, int32_t endOffset);
59  };
60 }
61 
62 #endif

clucene.sourceforge.net