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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ParallelMultiSearcher.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 PARALLELMULTISEARCHER_H
8 #define PARALLELMULTISEARCHER_H
9 
10 #include "MultiSearcher.h"
11 
12 namespace Lucene
13 {
18  class LPPAPI ParallelMultiSearcher : public MultiSearcher
19  {
20  public:
23  virtual ~ParallelMultiSearcher();
24 
26 
27  public:
30  virtual int32_t docFreq(TermPtr term);
31 
34  virtual TopDocsPtr search(WeightPtr weight, FilterPtr filter, int32_t n);
35 
38  virtual TopFieldDocsPtr search(WeightPtr weight, FilterPtr filter, int32_t n, SortPtr sort);
39  };
40 }
41 
42 #endif

clucene.sourceforge.net