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 // 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 FIELDDOCSORTEDHITQUEUE_H
8 #define FIELDDOCSORTEDHITQUEUE_H
9 
10 #include "PriorityQueue.h"
11 
12 namespace Lucene
13 {
16  class FieldDocSortedHitQueue : public PriorityQueue<FieldDocPtr>
17  {
18  public:
20  virtual ~FieldDocSortedHitQueue();
21 
23 
24  public:
26 
27  // used in the case where the fields are sorted by locale based strings
29 
30  public:
36 
39 
40  protected:
46 
48  virtual bool lessThan(const FieldDocPtr& first, const FieldDocPtr& second);
49  };
50 }
51 
52 #endif

clucene.sourceforge.net