Akonadi::Search::XapianSearchStore
#include <xapiansearchstore.h>
Protected Attributes | |
QRecursiveMutex | m_mutex |
Detailed Description
Implements a search store using Xapian.
Definition at line 26 of file xapiansearchstore.h.
Constructor & Destructor Documentation
◆ XapianSearchStore()
Definition at line 20 of file xapiansearchstore.cpp.
◆ ~XapianSearchStore()
|
override |
Definition at line 26 of file xapiansearchstore.cpp.
Member Function Documentation
◆ andQuery()
|
protected |
Convenience function to AND two Xapian queries together.
Definition at line 89 of file xapiansearchstore.cpp.
◆ applyCustomOptions()
|
protectedvirtual |
Create a query for any custom options.
Definition at line 272 of file xapiansearchstore.cpp.
◆ close()
|
overridevirtual |
Implements Akonadi::Search::SearchStore.
Definition at line 171 of file xapiansearchstore.cpp.
◆ constructFilterQuery()
|
protectedvirtual |
Definition at line 259 of file xapiansearchstore.cpp.
◆ constructQuery()
|
protectedpure virtual |
The derived class should implement the logic for constructing the appropriate Xapian::Query class from the given values.
◆ constructUrl()
|
protectedpure virtual |
Returns the url for the document with id docid
.
◆ convertTypes()
|
protectedpure virtual |
Gives a list of types which have been provided with the query.
This must return the appropriate query which will be ANDed with the final query
◆ dbPath()
|
virtual |
Definition at line 49 of file xapiansearchstore.cpp.
◆ docForQuery()
|
protected |
Definition at line 229 of file xapiansearchstore.cpp.
◆ exec()
Executes the particular query synchronously.
- Returns
- Returns a integer representing the integer
Implements Akonadi::Search::SearchStore.
Definition at line 111 of file xapiansearchstore.cpp.
◆ finalizeQuery()
|
protectedvirtual |
Apply any final touches to the query.
Definition at line 267 of file xapiansearchstore.cpp.
◆ id()
|
overridevirtual |
Implements Akonadi::Search::SearchStore.
Definition at line 177 of file xapiansearchstore.cpp.
◆ idPrefix()
|
protectedpure virtual |
The prefix that should be used when converting an integer id to a byte array.
◆ next()
|
overridevirtual |
Implements Akonadi::Search::SearchStore.
Definition at line 207 of file xapiansearchstore.cpp.
◆ setDbPath()
Set the path of the xapian database.
Definition at line 31 of file xapiansearchstore.cpp.
◆ url()
|
overridevirtual |
Reimplemented from Akonadi::Search::SearchStore.
Definition at line 190 of file xapiansearchstore.cpp.
◆ xapianDb()
|
protected |
Definition at line 254 of file xapiansearchstore.cpp.
Member Data Documentation
◆ m_mutex
|
protected |
Definition at line 93 of file xapiansearchstore.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:15:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.