Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
38 double minimumSimilarity;
45 static double defaultMinSimilarity();
53 double getMinSimilarity();
57 int32_t getPrefixLength();
66 virtual String toString(
const String& field);
67 virtual int32_t hashCode();
71 void ConstructQuery(
const TermPtr& term,
double minimumSimilarity, int32_t prefixLength);
TermPtr term
Definition: FuzzyQuery.h:42
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< Term > TermPtr
Definition: LuceneTypes.h:233
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
boost::shared_ptr< Query > QueryPtr
Definition: LuceneTypes.h:420
Definition: AbstractAllTermDocs.h:12
Implements the fuzzy search query. The similarity measurement is based on the Levenshtein (edit dista...
Definition: FuzzyQuery.h:19
boost::shared_ptr< RewriteMethod > RewriteMethodPtr
Definition: LuceneTypes.h:425
int32_t prefixLength
Definition: FuzzyQuery.h:39
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
bool termLongEnough
Definition: FuzzyQuery.h:40
static const int32_t defaultPrefixLength
Definition: FuzzyQuery.h:46
An abstract Query that matches documents containing a subset of terms provided by a {} enumeration.
Definition: MultiTermQuery.h:31
virtual String toString()
Prints a query to a string.
boost::shared_ptr< FilteredTermEnum > FilteredTermEnumPtr
Definition: LuceneTypes.h:365
clucene.sourceforge.net