Full text search not working as expected

Hello,
I have a question about searching of indexed files.

I will describe my situation:
File with the following content

This is a test 123456789 for indexed search

If this file is indexed and I want to search for 123456789 I can find the file. This is also working with a part of the string from the beginning, f. e. 1234
But if I try to search for a part of the string, f. e. 56789, the file isn’t been found.

I also tried different search options (with *) but this didn’t solved the problem.

Does anyone have an explanation or solution for this?

It’s a word-based index, not unlike the index section at the end of some books. So it can only find whole words, or prefix of words. The latter is possible because the index is sorted alphabetically, so all words with a common prefix are together, thus easy to find.

A general “part of the string” search requires going over all words in the index, thus not supported.

The solution is not using Baloo for this. grep doesn’t use an index, so it works in this case.

2 Likes

kfind also works and can be added to dolphin from the search dialog under more tools

1 Like