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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FieldScoreQuery.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 FIELDSCOREQUERY_H
8 #define FIELDSCOREQUERY_H
9 
10 #include "ValueSourceQuery.h"
11 
12 namespace Lucene {
13 
43 class LPPAPI FieldScoreQuery : public ValueSourceQuery {
44 public:
46  enum Type {
49 
51  INT,
52 
54  DOUBLE
55  };
56 
61  FieldScoreQuery(const String& field, Type type);
62 
63  virtual ~FieldScoreQuery();
64 
66 
67 public:
69  static ValueSourcePtr getValueSource(const String& field, Type type);
70 };
71 
72 }
73 
74 #endif

clucene.sourceforge.net