~blue-shell/blue-shell/baloo

Viewing all changes in revision 1510.

  • Committer: Stefan Brüns
  • Date: 2019-04-15 07:51:01 UTC
  • Revision ID: git-v1:5a8f402b56ded895767808d08be81911f7d07517
Keep empty Json metadata docs out of DocumentData DB

Summary:
In case a document is marked for content indexing, but none of the
extractors returns any data, the Baloo::Result::finish() method will
serialize the data as an empty Json document, "{}".

Having no data for a document in the DB is no error, this is the case
already when content indexing is disabled or when the indexer has not
yet processed the document, so leave it out to save some space.

Reviewers: #baloo, #frameworks, astippich, ngraham, poboiko

Reviewed By: #baloo, ngraham

Subscribers: kde-frameworks-devel

Tags: #frameworks, #baloo

Differential Revision: https://phabricator.kde.org/D20556

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: