Akonadi::Search::XapianTermGenerator

Search for usage in LXR

Akonadi::Search::XapianTermGenerator Class Reference

#include <xapiantermgenerator.h>

Public Member Functions

 XapianTermGenerator (Xapian::Document *doc)
 
void indexText (const QString &text)
 
void indexText (const QString &text, const QString &prefix, int wdfInc=1)
 
int position () const
 
void setDocument (Xapian::Document *doc)
 
void setPosition (int position)
 

Static Public Member Functions

static QStringList termList (const QString &text)
 

Detailed Description

Xapian term generator.

Definition at line 20 of file xapiantermgenerator.h.

Constructor & Destructor Documentation

◆ XapianTermGenerator()

XapianTermGenerator::XapianTermGenerator ( Xapian::Document * doc)
explicit

Definition at line 15 of file xapiantermgenerator.cpp.

Member Function Documentation

◆ indexText() [1/2]

void XapianTermGenerator::indexText ( const QString & text)

Definition at line 23 of file xapiantermgenerator.cpp.

◆ indexText() [2/2]

void XapianTermGenerator::indexText ( const QString & text,
const QString & prefix,
int wdfInc = 1 )

Definition at line 72 of file xapiantermgenerator.cpp.

◆ position()

int XapianTermGenerator::position ( ) const
nodiscard

Definition at line 90 of file xapiantermgenerator.cpp.

◆ setDocument()

void XapianTermGenerator::setDocument ( Xapian::Document * doc)

Definition at line 28 of file xapiantermgenerator.cpp.

◆ setPosition()

void XapianTermGenerator::setPosition ( int position)

Definition at line 95 of file xapiantermgenerator.cpp.

◆ termList()

QStringList XapianTermGenerator::termList ( const QString & text)
staticnodiscard

Definition at line 33 of file xapiantermgenerator.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

KDE's Doxygen guidelines are available online.