Lucene++ - a full-featured, c++ search engine
API Documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
include
OrdFieldSource.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 ORDFIELDSOURCE_H
8
#define ORDFIELDSOURCE_H
9
10
#include "
ValueSource.h
"
11
12
namespace
Lucene {
13
31
class
LPPAPI
OrdFieldSource
:
public
ValueSource
{
32
public
:
35
OrdFieldSource
(
const
String& field);
36
virtual
~
OrdFieldSource
();
37
38
LUCENE_CLASS
(
OrdFieldSource
);
39
40
protected
:
41
String field;
42
43
public
:
44
virtual
String description();
45
virtual
DocValuesPtr
getValues(
const
IndexReaderPtr
& reader);
46
virtual
bool
equals(
const
LuceneObjectPtr
& other);
47
virtual
int32_t hashCode();
48
};
49
50
}
51
52
#endif
clucene.sourceforge.net