Bug 20013

Summary: baloo is not indexing files' contents. Baloo is only indexing files' names.
Product: Mageia Reporter: PC LX <mageia>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: baloo-5.29.0-1.mga6.src.rpm CVE:
Status comment:

Description PC LX 2016-12-23 12:17:24 CET
Description:

baloo is not indexing any files' contents. baloo is only indexing files' names.

This up-to-date Mageia 6 cauldron system was upgraded from Mageia 5 and, in Mageia 5, baloo was indexing the files' contents, so this is a regression.

I deleted all baloo database and configuration files in Mageia 6 cauldron, to revert baloo to the default configuration and be certain it was not a configuration issue or a compatibility issue with the previous version.

In Mageia 5, the baloo database uses 245MiB while in Mageia 6 cauldron the baloo database uses 34MiB.

Using balooshow and baloosearch I can confirm that baloo sees the files and indexes the files' names/paths but it does not index the files' contents.

I'm not certain how I can go about diagnosing this issue further.



Versions:

# rpm -qa | grep baloo | sort
baloo-5.29.0-1.mga6
lib64kf5baloocore5-5.29.0-1.mga6
lib64kf5balooengine5-5.29.0-1.mga6
lib64kf5baloowidgets5-16.11.90-1.mga6



Reproducible:

Always.



Steps to reproduce:
1 - Have a installed or upgraded up-to-date Mageia 6 cauldron;
2 - Enable and start baloo indexing: "balooctl enable ; balooctl start";
3 - Wait for the indexing to complete (may take a while);
4 - Find in the home directory or some non-dot-hidden subdirectory a file (THE_FILE) with indexable text (e.g. plain text, pdf);
5 - Look in THE_FILE for some words (THE_WORDS) not in THE_FILE's name;
6 - Run "balooshow -x THE_FILE" to confirm the file was indexed;
6 - Run "baloosearch THE_WORDS" and see if baloosearch returns THE_FILE as part of the results.
7 - Repeat from step 4 to confirm the results.
David Walser 2016-12-23 17:11:53 CET

Assignee: bugsquad => kde

Comment 1 Nicolas Lécureuil 2016-12-28 18:07:21 CET
just tested and it works fine here.

i see my test2 file in the list.

du -s .local/share/baloo/
2,8G    .local/share/baloo/

CC: (none) => mageia

Comment 2 PC LX 2017-01-04 11:21:03 CET
I did another upgrade from Mageia 5 to Mageia 6 cauldron and this time baloo indexed the content of the files. I don't know why last time it didn't but it is working now so I'm closing this bug report, hopefully for good.

Status: NEW => RESOLVED
Resolution: (none) => INVALID