Search for usage in LXR

Akonadi::Search::XapianQueryParser Class Reference

#include <xapianqueryparser.h>

Public Member Functions

Xapian::Query expandWord (const QString &word, const QString &prefix=QString())
Xapian::Query parseQuery (const QString &str, const QString &prefix=QString())
void setAutoExapand (bool autoexpand)
void setDatabase (Xapian::Database *db)

Detailed Description

Xapian query parser.

Definition at line 20 of file xapianqueryparser.h.

Member Function Documentation

◆ expandWord()

Xapian::Query XapianQueryParser::expandWord ( const QString word,
const QString prefix = QString() 

Expands word to every possible option which it can be expanded to.

Definition at line 224 of file xapianqueryparser.cpp.

◆ setAutoExapand()

void XapianQueryParser::setAutoExapand ( bool  autoexpand)

Set if each word in the string should be treated as a partial word and should be expanded to every possible word.

Definition at line 219 of file xapianqueryparser.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 04:08:51 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.