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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SegmentMergeInfo.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 SEGMENTMERGEINFO_H
8 #define SEGMENTMERGEINFO_H
9 
10 #include "Term.h"
11 
12 namespace Lucene {
13 
15 public:
16  SegmentMergeInfo(int32_t b, const TermEnumPtr& te, const IndexReaderPtr& r);
17  virtual ~SegmentMergeInfo();
18 
20 
21 protected:
22  TermPositionsPtr postings; // use getPositions()
23  Collection<int32_t> docMap; // use getDocMap()
24 
25 public:
27  int32_t base;
28  int32_t ord; // the position of the segment in a MultiReader
31  int32_t delCount;
32 
33 public:
36  bool next();
37  void close();
38 };
39 
40 }
41 
42 #endif

clucene.sourceforge.net