Lucene++ - a full-featured, c++ search engine
API Documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
include
lucene++
TermInfo.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 TERMINFO_H
8
#define TERMINFO_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene
{
13
15
class
TermInfo
:
public
LuceneObject
{
16
public
:
17
TermInfo
(
const
TermInfoPtr
& ti);
18
TermInfo
(int32_t df = 0, int64_t fp = 0, int64_t pp = 0);
19
virtual
~TermInfo
();
20
21
LUCENE_CLASS
(
TermInfo
);
22
23
public
:
25
int32_t
docFreq
;
26
int64_t
freqPointer
;
27
int64_t
proxPointer
;
28
int32_t
skipOffset
;
29
30
public
:
31
void
set
(int32_t
docFreq
, int64_t
freqPointer
, int64_t
proxPointer
, int32_t
skipOffset
);
32
void
set
(
const
TermInfoPtr
& ti);
33
};
34
35
}
36
37
#endif
LuceneObject.h
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition
LuceneObject.h:24
Lucene::LuceneObject::LuceneObject
LuceneObject()
Lucene::TermInfo::skipOffset
int32_t skipOffset
Definition
TermInfo.h:28
Lucene::TermInfo::set
void set(const TermInfoPtr &ti)
Lucene::TermInfo::freqPointer
int64_t freqPointer
Definition
TermInfo.h:26
Lucene::TermInfo::~TermInfo
virtual ~TermInfo()
Lucene::TermInfo::TermInfo
TermInfo(int32_t df=0, int64_t fp=0, int64_t pp=0)
Lucene::TermInfo::proxPointer
int64_t proxPointer
Definition
TermInfo.h:27
Lucene::TermInfo::TermInfo
TermInfo(const TermInfoPtr &ti)
Lucene::TermInfo::docFreq
int32_t docFreq
The number of documents which contain the term.
Definition
TermInfo.h:25
Lucene::TermInfo::set
void set(int32_t docFreq, int64_t freqPointer, int64_t proxPointer, int32_t skipOffset)
Lucene
Definition
AbstractAllTermDocs.h:12
Lucene::TermInfoPtr
boost::shared_ptr< TermInfo > TermInfoPtr
Definition
LuceneTypes.h:239
clucene.sourceforge.net