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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
OrdFieldSource.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 ORDFIELDSOURCE_H
8 #define ORDFIELDSOURCE_H
9 
10 #include "ValueSource.h"
11 
12 namespace Lucene
13 {
31  class LPPAPI OrdFieldSource : public ValueSource
32  {
33  public:
36  OrdFieldSource(const String& field);
37  virtual ~OrdFieldSource();
38 
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