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

Loading...
Searching...
No Matches
TermVectorEntryFreqSortedComparator.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 TERMVECTORENTRYFREQSORTEDCOMPARATOR_H
8#define TERMVECTORENTRYFREQSORTEDCOMPARATOR_H
9
10#include "LuceneObject.h"
11
12 namespace Lucene {
13
15 class LPPAPI TermVectorEntryFreqSortedComparator : public LuceneObject {
16 public:
17 virtual ~TermVectorEntryFreqSortedComparator();
18
19 LUCENE_CLASS(TermVectorEntryFreqSortedComparator);
20
21 public:
22 static bool compare(const TermVectorEntryPtr& first, const TermVectorEntryPtr& second);
23};
24
25}
26
27#endif
LuceneObject.h
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Lucene::LuceneObject::LuceneObject
LuceneObject()
Lucene::TermVectorEntryFreqSortedComparator
Compares TermVectorEntrys first by frequency and then by the term (case-sensitive).
Definition TermVectorEntryFreqSortedComparator.h:15
Lucene::TermVectorEntryFreqSortedComparator::~TermVectorEntryFreqSortedComparator
virtual ~TermVectorEntryFreqSortedComparator()
Lucene::TermVectorEntryFreqSortedComparator::compare
static bool compare(const TermVectorEntryPtr &first, const TermVectorEntryPtr &second)
Lucene
Definition AbstractAllTermDocs.h:12
Lucene::TermVectorEntryPtr
boost::shared_ptr< TermVectorEntry > TermVectorEntryPtr
Definition LuceneTypes.h:252

clucene.sourceforge.net