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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SegmentTermPositionVector.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 SEGMENTTERMPOSITIONVECTOR_H
8 #define SEGMENTTERMPOSITIONVECTOR_H
9 
10 #include "SegmentTermVector.h"
11 
12 namespace Lucene {
13 
15 public:
19 
21 
22 protected:
25 
26 protected:
27  static const Collection<int32_t> EMPTY_TERM_POS();
28 
29 public:
33  virtual Collection<TermVectorOffsetInfoPtr> getOffsets(int32_t index);
34 
37  virtual Collection<int32_t> getTermPositions(int32_t index);
38 };
39 
40 }
41 
42 #endif

clucene.sourceforge.net