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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FieldDocSortedHitQueue.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 FIELDDOCSORTEDHITQUEUE_H
8 #define FIELDDOCSORTEDHITQUEUE_H
9 
10 #include "PriorityQueue.h"
11 
12 namespace Lucene {
13 
16 class FieldDocSortedHitQueue : public PriorityQueue<FieldDocPtr> {
17 public:
19  virtual ~FieldDocSortedHitQueue();
20 
22 
23 public:
25 
26  // used in the case where the fields are sorted by locale based strings
28 
29 public:
35 
38 
39 protected:
45 
47  virtual bool lessThan(const FieldDocPtr& first, const FieldDocPtr& second);
48 };
49 
50 }
51 
52 #endif

clucene.sourceforge.net