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


Loading...
Searching...
No Matches
TermVectorEntry.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 TERMVECTORENTRY_H
8#define TERMVECTORENTRY_H
9
10#include "LuceneObject.h"
11
12namespace Lucene {
13
46
47}
48
49#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
void setOffsets(Collection< TermVectorOffsetInfoPtr > offsets)
Collection< int32_t > getPositions()
virtual String toString()
Returns a string representation of the object.
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
virtual int32_t hashCode()
Return hash code for this object.
void setPositions(Collection< int32_t > positions)
Collection< TermVectorOffsetInfoPtr > offsets
Definition TermVectorEntry.h:28
String term
Definition TermVectorEntry.h:26
TermVectorEntry(const String &field=EmptyString, const String &term=EmptyString, int32_t frequency=0, Collection< TermVectorOffsetInfoPtr > offsets=Collection< TermVectorOffsetInfoPtr >(), Collection< int32_t > positions=Collection< int32_t >())
int32_t frequency
Definition TermVectorEntry.h:27
Collection< int32_t > positions
Definition TermVectorEntry.h:29
Collection< TermVectorOffsetInfoPtr > getOffsets()
void setFrequency(int32_t frequency)
String field
Definition TermVectorEntry.h:25
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition LuceneTypes.h:539

clucene.sourceforge.net