fileindexerconfig: Introduce canBeSearched()
ClosedPublic

Authored by michaelh on Jan 31 2018, 4:32 PM.

Details

Summary

Prepare for search refinement in dolphin.

The option to use baloo for searching should not only depend on the indexing state of search start folder but also on the indexing state of its descendants.

Example:

  • ~/ : not indexed
  • ~/Videos: indexed
  • ~/EBooks: indexed

When starting search from ~/ the user should be able to use baloo for search.

CCBUG:388656

Test Plan

unit test, upcoming

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
michaelh created this revision.Jan 31 2018, 4:32 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 31 2018, 4:32 PM
michaelh requested review of this revision.Jan 31 2018, 4:32 PM
michaelh updated this revision to Diff 26264.Jan 31 2018, 4:34 PM
  • Correct typo
michaelh added a project: Baloo.
ngraham accepted this revision as: Baloo, ngraham.Feb 3 2018, 7:48 PM
This revision is now accepted and ready to land.Feb 3 2018, 7:48 PM
This revision was automatically updated to reflect the committed changes.