Bug 419680 - search content of two or more words separated by "" doesn't work
Summary: search content of two or more words separated by "" doesn't work
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 19.12.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-05 13:50 UTC by proteus5
Modified: 2023-04-09 02:07 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Search for two words (71.02 KB, image/png)
2020-06-05 19:22 UTC, Ismael Asensio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description proteus5 2020-04-05 13:50:31 UTC
SUMMARY


STEPS TO REPRODUCE
1. open Dolphin;
2. write at least two words separated by "";
3. the search is not possible.

OBSERVED RESULT
the search for two or more terms is available.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Ismael Asensio 2020-04-06 16:13:16 UTC
I'm not able to reproduce this bug, maybe I'm not interpreting it right.

Could you please give more specifics about it?:
* Are you searching for "Filename" or "Content"?
* Can you give an example of the exact term your searching for (where do the "" go)?
* What does exactly means "search is not possible" (no results, crashing, etc)

Thanks!
Comment 2 proteus5 2020-06-04 09:40:35 UTC
(In reply to Ismael Asensio from comment #1)
> I'm not able to reproduce this bug, maybe I'm not interpreting it right.
> 
> Could you please give more specifics about it?:
> * Are you searching for "Filename" or "Content"?
> * Can you give an example of the exact term your searching for (where do the
> "" go)?
> * What does exactly means "search is not possible" (no results, crashing,
> etc)
> 
> Thanks!
The Dolphin search function doesn't let me to get the documents where a sentence of 2 or more words are present when I select the searching by CONTENT. It works just with one word.
Comment 3 Ismael Asensio 2020-06-05 19:22:59 UTC
Created attachment 129083 [details]
Search for two words

If you mean searching for a whole sentence enclosing it in quotes, the search engine does not support that, since it uses an indexed search by single words. 
Otherwise, searching for any number of words in documents (but not on a fixed sentence), works fine for me.
Comment 4 proteus5 2020-06-07 13:40:50 UTC
(In reply to Ismael Asensio from comment #3)
> Created attachment 129083 [details]
> Search for two words
> 
> If you mean searching for a whole sentence enclosing it in quotes, the
> search engine does not support that, since it uses an indexed search by
> single words. 
> Otherwise, searching for any number of words in documents (but not on a
> fixed sentence), works fine for me.

the searching by 2 or more words is useful when many documents such as hundreds about an argument are present so to avoid a plethoric useless result.
Comment 5 dikasetyaprayogi 2023-04-09 02:07:14 UTC
in a nutshell
 
suppose you have file:
one two three.jpg

searching "one two" will find the file
searching "one three" will gives you nothing

these means dolphin only do linear search and not a word combination
while these are commonly supported in gtk file managers like pcman,thunar,nemo,nautilus,etc

this feature is really usefull and had greater flexibility to quickly search+filter the exact files user want to find.
linear search is very accurate but very inflexible, just a small typo or you forgetting the exact filename and you will never find the file.

please raise this awareness to developer.