Development/Tutorials/Metadata/Nepomuk/StrigiService

From KDE TechBase
Revision as of 19:56, 21 April 2010 by VHanda (talk | contribs) (Fixed D-Bus interface name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Nepomuk Strigi Service
Tutorial Series   Nepomuk
Previous   File Watch Service
What's Next   Query Service
Further Reading   Nepomuk Services, Nepomuk Server

Nepomuk Strigi Service

The Nepomuk Strigi service uses the libstreamanalyzer library provided by Strigi to analyze all files in the configured folders and store their metadata in the Nepomuk repository.

The service monitors certain events such as a change in the battery status (will not index when running on batteries) or if the hard disk space is running low. In the latter case indexing is suspended until hard disk space is freed.

The service provides a D-Bus interface org.kde.nepomuk.services.nepomukstrigiservice which is exported at nepomukstrigiservice. It allows to suspend/resume the indexing, index specific folders or files and informs about the current status of Strigi.

This service is supposed to be configured via the Nepomuk KCM.