Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fulltextsearch Namespace Reference

Classes

class  QHelpSearchIndexReader
class  QHelpSearchIndexWriter
class  Reader
class  Writer

Functions

static QString namespacePlaceholders (const QMultiMap< QString, QStringList > &namespaces)
static void bindNamespacesAndAttributes (QSqlQuery *query, const QMultiMap< QString, QStringList > &namespaces)
static QString namespacePlaceholders (const QStringList &namespaceList)
static void bindNamespacesAndAttributes (QSqlQuery *query, const QStringList &namespaceList)
static bool attributesMatchFilter (const QStringList &attributes, const QStringList &filter)
static QMap< QString, QDateTimereadIndexMap (const QHelpEngineCore &engine)
static bool writeIndexMap (QHelpEngineCore *engine, const QMap< QString, QDateTime > &indexMap)
static bool clearIndexMap (QHelpEngineCore *engine)

Variables

const char FTS_DB_NAME [] = "fts"
static const char IndexedNamespacesKey [] = "FTS5IndexedNamespaces"

Function Documentation

◆ attributesMatchFilter()

bool fulltextsearch::attributesMatchFilter ( const QStringList & attributes,
const QStringList & filter )
static

Definition at line 182 of file qhelpsearchindexreader.cpp.

◆ bindNamespacesAndAttributes() [1/2]

void fulltextsearch::bindNamespacesAndAttributes ( QSqlQuery * query,
const QMultiMap< QString, QStringList > & namespaces )
static

Definition at line 85 of file qhelpsearchindexreader.cpp.

◆ bindNamespacesAndAttributes() [2/2]

void fulltextsearch::bindNamespacesAndAttributes ( QSqlQuery * query,
const QStringList & namespaceList )
static

Definition at line 114 of file qhelpsearchindexreader.cpp.

◆ clearIndexMap()

bool fulltextsearch::clearIndexMap ( QHelpEngineCore * engine)
static

Definition at line 337 of file qhelpsearchindexwriter.cpp.

◆ namespacePlaceholders() [1/2]

QString fulltextsearch::namespacePlaceholders ( const QMultiMap< QString, QStringList > & namespaces)
static

Definition at line 53 of file qhelpsearchindexreader.cpp.

◆ namespacePlaceholders() [2/2]

QString fulltextsearch::namespacePlaceholders ( const QStringList & namespaceList)
static

Definition at line 100 of file qhelpsearchindexreader.cpp.

◆ readIndexMap()

QMap< QString, QDateTime > fulltextsearch::readIndexMap ( const QHelpEngineCore & engine)
static

Definition at line 320 of file qhelpsearchindexwriter.cpp.

References IndexedNamespacesKey.

◆ writeIndexMap()

bool fulltextsearch::writeIndexMap ( QHelpEngineCore * engine,
const QMap< QString, QDateTime > & indexMap )
static

Definition at line 329 of file qhelpsearchindexwriter.cpp.

Variable Documentation

◆ FTS_DB_NAME

const char fulltextsearch::FTS_DB_NAME = "fts"

Definition at line 31 of file qhelpsearchindexwriter.cpp.

◆ IndexedNamespacesKey

const char fulltextsearch::IndexedNamespacesKey = "FTS5IndexedNamespaces"
static

Definition at line 318 of file qhelpsearchindexwriter.cpp.

Referenced by readIndexMap().