Revision eb56fb2...

Go back to digest for 9th February 2014

Features in KDE-PIM

Dan Vratil committed changes in [kdepimlibs] /:

Implement support for server-side search in Akonadi

Instead of using Nepomuk and SPARQL queries, we now use SearchQuery and SearchTerm objects
to construct queries (internally represented as a JSON query language based on Baloo's
query language.

We now also support server-search, so agents that implement AgentSearchInterface can search
their storage service (like IMAP SEARCH for example) and return results back to Akonadi. This
allows us to search even items that are not indexed by a local indexing service, like Nepomuk
or Baloo.

Big thanks to Christian Mollekopf for his help

Squashed commit from akonadi/server-search branch.

File Changes

Added 11 files
  •   akonadi/searchquery.cpp
  •   akonadi/searchquery.h
  •   akonadi/searchresultjob.cpp
  •   akonadi/searchresultjob_p.h
  •   akonadi/tests/itemsearchjobtest.cpp
  •   akonadi/tests/searchquerytest.cpp
  •   includes/Akonadi/SearchQuery
  •   akonadi/tests/testsearchplugin/akonaditestsearchplugin.desktop
  •   akonadi/tests/testsearchplugin/CMakeLists.txt
  •   akonadi/tests/testsearchplugin/testsearchplugin.cpp
  •   akonadi/tests/testsearchplugin/testsearchplugin.h
Modified 24 files
  •   akonadi/agentsearchinterface.cpp
  •   akonadi/agentsearchinterface.h
  •   akonadi/agentsearchinterface_p.h
  •   akonadi/CMakeLists.txt
  •   akonadi/itemsearchjob.cpp
  •   akonadi/itemsearchjob.h
  •   akonadi/persistentsearchattribute.cpp
  •   akonadi/persistentsearchattribute.h
  •   akonadi/searchcreatejob.cpp
  •   akonadi/searchcreatejob.h
  •   akonadi/contact/contactgroupsearchjob.cpp
  •   akonadi/contact/contactgroupsearchjob.h
  •   akonadi/contact/contactsearchjob.cpp
  •   akonadi/contact/contactsearchjob.h
  •   akonadi/interfaces/org.freedesktop.Akonadi.Agent.Search.xml
  •   akonadi/tests/CMakeLists.txt
  •   akonadi/tests/searchjobtest.cpp
  •   akonadi/tests/testresource/knutresource.cpp
  •   akonadi/tests/testresource/knutresource.h
  •   akonadi/tests/unittestenv/config-mysql-db.xml
  •   akonadi/tests/unittestenv/config-mysql-fs.xml
  •   akonadi/tests/unittestenv/config-postgresql-db.xml
  •   akonadi/tests/unittestenv/config-postgresql-fs.xml
  •   akonadi/tests/unittestenv/config-sqlite-db.xml
35 files changed in total