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


ParallelMultiSearcher.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 PARALLELMULTISEARCHER_H
8 #define PARALLELMULTISEARCHER_H
9 
10 #include "MultiSearcher.h"
11 
12 namespace Lucene {
13 
18 class LPPAPI ParallelMultiSearcher : public MultiSearcher {
19 public:
22  virtual ~ParallelMultiSearcher();
23 
25 
26 public:
29  virtual int32_t docFreq(const TermPtr& term);
30 
33  virtual TopDocsPtr search(const WeightPtr& weight, const FilterPtr& filter, int32_t n);
34 
37  virtual TopFieldDocsPtr search(const WeightPtr& weight, const FilterPtr& filter, int32_t n, const SortPtr& sort);
38 };
39 
40 }
41 
42 #endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::FilterPtr
boost::shared_ptr< Filter > FilterPtr
Definition: LuceneTypes.h:358
Lucene::TermPtr
boost::shared_ptr< Term > TermPtr
Definition: LuceneTypes.h:233
Lucene::Collection< SearchablePtr >
MultiSearcher.h
Lucene::ParallelMultiSearcher
Implements parallel search over a set of Searchables.
Definition: ParallelMultiSearcher.h:18
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::WeightPtr
boost::shared_ptr< Weight > WeightPtr
Definition: LuceneTypes.h:480
Lucene::TopFieldDocsPtr
boost::shared_ptr< TopFieldDocs > TopFieldDocsPtr
Definition: LuceneTypes.h:474
Lucene::TopDocsPtr
boost::shared_ptr< TopDocs > TopDocsPtr
Definition: LuceneTypes.h:471
Lucene::SortPtr
boost::shared_ptr< Sort > SortPtr
Definition: LuceneTypes.h:442
Lucene::MultiSearcher
Implements search over a set of Searchables.
Definition: MultiSearcher.h:19

clucene.sourceforge.net