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


TopFieldDocs.h
Go to the documentation of this file.
1 // 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 TOPFIELDDOCS_H
8 #define TOPFIELDDOCS_H
9 
10 #include "TopDocs.h"
11 
12 namespace Lucene {
13 
15 class LPPAPI TopFieldDocs : public TopDocs {
16 public:
21  TopFieldDocs(int32_t totalHits, Collection<ScoreDocPtr> scoreDocs, Collection<SortFieldPtr> fields, double maxScore);
22 
23  virtual ~TopFieldDocs();
24 
26 
27 public:
30 };
31 
32 }
33 
34 #endif
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Represents hits returned by Searcher#search(QueryPtr, FilterPtr, int32_t) and {}.
Definition: TopDocs.h:16
Represents hits returned by Searcher#search(QueryPtr, FilterPtr, int32_t, SortPtr).
Definition: TopFieldDocs.h:15
TopFieldDocs(int32_t totalHits, Collection< ScoreDocPtr > scoreDocs, Collection< SortFieldPtr > fields, double maxScore)
Collection< SortFieldPtr > fields
The fields which were used to sort results by.
Definition: TopFieldDocs.h:25
Definition: AbstractAllTermDocs.h:12

clucene.sourceforge.net