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


Loading...
Searching...
No Matches
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
12namespace Lucene {
13
39
40}
41
42#endif
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
Definition SegmentTermPositionVector.h:14
Collection< Collection< TermVectorOffsetInfoPtr > > offsets
Definition SegmentTermPositionVector.h:24
Collection< Collection< int32_t > > positions
Definition SegmentTermPositionVector.h:23
virtual Collection< int32_t > getTermPositions(int32_t index)
Returns an array of positions in which the term is found. Terms are identified by the index at which ...
SegmentTermPositionVector(const String &field, Collection< String > terms, Collection< int32_t > termFreqs, Collection< Collection< int32_t > > positions, Collection< Collection< TermVectorOffsetInfoPtr > > offsets)
virtual Collection< TermVectorOffsetInfoPtr > getOffsets(int32_t index)
Returns an array of TermVectorOffsetInfo in which the term is found.
static const Collection< int32_t > EMPTY_TERM_POS()
Definition SegmentTermVector.h:14
Definition AbstractAllTermDocs.h:12

clucene.sourceforge.net