Bug 429283 - baloosearch returns duplicate results
Summary: baloosearch returns duplicate results
Status: RESOLVED DUPLICATE of bug 401863
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.73.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-18 04:41 UTC by Peter Hoeg
Modified: 2022-03-05 14:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hoeg 2020-11-18 04:41:51 UTC
SUMMARY

baloosearch returns duplicate results.

```sh
$ baloosearch example | grep work | grep managed
/home/peter/org/work/shared/managed_services.org
/home/peter/org/work/shared/managed_services.org
/home/peter/org/work/shared/managed_services.org
/home/peter/org/work/shared/managed_services.org
Elapsed: 2.1973 msecs
```

Almost all the files are duplicated:

```sh
$ baloosearch example | wc -l                   
Elapsed: 2.20035 msecs
663

$ baloosearch example | sort -u | wc -l
Elapsed: 2.25017 msecs
202
```

STEPS TO REPRODUCE
1. enable baloo
2. let it index
3. search for something
4. notice the duplicate results

OBSERVED RESULT

```sh
$ baloosearch example | grep work | grep managed
/home/peter/org/work/shared/managed_services.org
/home/peter/org/work/shared/managed_services.org
/home/peter/org/work/shared/managed_services.org
/home/peter/org/work/shared/managed_services.org
Elapsed: 2.1973 msecs
```
EXPECTED RESULT

```sh
$ baloosearch example | grep work | grep managed
/home/peter/org/work/shared/managed_services.org
Elapsed: 2.1973 msecs
```

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS unstable
KDE Plasma Version: 5.73
KDE Frameworks Version: plasma 5.18.5
Qt Version: 5.15.0

ADDITIONAL INFORMATION

I have been observing this for a long time on multiple systems.

Wiping the local store and letting it reindex doesn't help.
Comment 1 Nate Graham 2020-11-18 21:01:28 UTC

*** This bug has been marked as a duplicate of bug 419302 ***
Comment 2 Nate Graham 2022-03-05 14:50:06 UTC

*** This bug has been marked as a duplicate of bug 401863 ***