Diffusion Baloo efad0343a5c6

[Scheduler] Remove extraneous set of content indexing flag

Authored by bruns on Oct 16 2018, 5:19 PM.

Description

[Scheduler] Remove extraneous set of content indexing flag

Summary:
The content indexing flag is already set by the BasicIndexingJob::index()
in ModifiedFileIndexer::run() executed previously. Instead of doing
another write transaction just update it when updating the other DBs
in replaceDocument(), like it is already done in addDocument().

Also, the flag was even set when the config only specifies BasicIndexing,
i.e. content indexing was always done.

Reviewers: Baloo, Frameworks, poboiko, ngraham

Reviewed By: Baloo, ngraham

Subscribers: kde-frameworks-devel

Tags: Frameworks, Baloo

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

Details

Committed
brunsOct 17 2018, 1:57 AM
Reviewer
Baloo
Differential Revision
D16253: [Scheduler] Remove extraneous set of content indexing flag
Parents
R293:19e9edaec570: [Scheduler] Reuse fileinfo from FilteredDirIterator
Branches
Unknown
Tags
Unknown