Akonadi::Search::XapianQueryParser
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()
|
nodiscard |
Expands word to every possible option which it can be expanded to.
Definition at line 224 of file xapianqueryparser.cpp.
◆ parseQuery()
|
nodiscard |
Definition at line 96 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.
◆ setDatabase()
void XapianQueryParser::setDatabase | ( | Xapian::Database * | db | ) |
Definition at line 18 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-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:10:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:10:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.