[frameworks-baloo] [Bug 453291] baloosearch pattern not found when in middle of word

2022-05-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=453291

[email protected] changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from [email protected] ---
(In reply to felix from comment #2)
> ... This raises the question of closing mine since there is already one. 
Yes, probably makes sense to close this as a duplicate.

> ... I would like to stress,
> however, the suggestion to implement a *word* wildcard style for baloo as
> well - for filenames and keywords in text based file formats.
I agree about how useful a wildcard search would be but, with the way that
Baloo is built, it could be difficult. Baloo is designed to to be *fast*,
pulling results off disc as you type characters into your search - you get a
steadily refined set of results as you type. It's not clear to me, with the
current architecture, how you could do that with wildcards...

On the other hand, maybe more powerful magic is possible, plocate is amazingly
fast and provides wildcard searches, https://plocate.sesse.net/

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

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-baloo] [Bug 453291] baloosearch pattern not found when in middle of word

2022-05-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=453291

--- Comment #2 from [email protected] ---
I can confirm the behaviour you describe in dolphin when baloo is disabled or
no index database is existing. Speed's decent, however I'd loose the ability of
looking for keywords in PDF's.

Also your point of word boundaries is valid. Unfortunately it does not seem
appropriate to rename all files where words are made up of two words and I
search for one part resulting in not finding it.

The bug report you mentioned does seem equal to mine. This raises the question
of closing mine since there is already one. I would like to stress, however,
the suggestion to implement a *word* wildcard style for baloo as well - for
filenames and keywords in text based file formats.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-baloo] [Bug 453291] baloosearch pattern not found when in middle of word

2022-05-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=453291

[email protected] changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||[email protected]
 Status|REPORTED|CONFIRMED

--- Comment #1 from [email protected] ---
(In reply to felix from comment #0)
> ... is something goofy going on here?
I think you'd probably say "yes" here...

As you've found with your baloosearch tests, baloo does not do wildcard
searches. If you search for "amp" you will get results for "ample" but not
"example" (so, you can think of the search being for "amp*" but not "*amp*").

Dolphin uses the Baloo index when it thinks it can, so you'll get the same
behaviour in Dolphin. If Dolphin sees that Baloo is disabled or not indexing
the folder it's in, it does it's *own* search.

The goofy part is that Dolphin's "own search" seems to pick up substrings;
effectively an "*amp*" search.

Balancing this, Baloo does recognise word boundaries so if you had done your
tests with "default-testfile" files, "baloosearch test" would have found them.

There's a bit of discussion in Bug 452628...

-- 
You are receiving this mail because:
You are watching all bug changes.