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
ReverseOrdFieldSource.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2011 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 REVERSEORDFIELDSOURCE_H
8 #define REVERSEORDFIELDSOURCE_H
9
10 #include "ValueSource.h"
11
12 namespace Lucene
13 {
31 class LPPAPI ReverseOrdFieldSource : public ValueSource
32 {
33 public:
36 ReverseOrdFieldSource(const String& field);
37 virtual ~ReverseOrdFieldSource();
38
39 LUCENE_CLASS(ReverseOrdFieldSource);
40
41 protected:
42 String field;
43
44 public:
45 virtual String description();
46 virtual DocValuesPtr getValues(IndexReaderPtr reader);
47 virtual bool equals(LuceneObjectPtr other);
48 virtual int32_t hashCode();
49 };
50 }
51
52 #endif

clucene.sourceforge.net