Registered Member
|
I've noticed that sometimes I unable to find files that I know exist. It seems that sometimes the filename is not saved as one of the search terms.
For example:
A search for D023 gets the expected results:
Whereas a search for D024 returns only two files which contain the string "d024". However, the D024 files have been indexed:
And a search for text in the files is successful. I was wondering if this is a known problem and if there is some way around it? Currently running PCLinuxOS KDE 4.14.7 |
KDE Developer
|
I know about a similar problem with '_' which I've fixed for the next release. Not sure about this one. Run `balooshow -x <fileUrl>` for it to output all the words that file contains.
|
Registered Member
|
The version of balooshow I have doesn't seem to have that option:
$ balooshow -x ~/.../D024\ FileList.txt balooshow: Unknown option 'x'. $ balooshow -v Qt: 4.8.6 KDE Development Platform: 4.14.7 Baloo Show: 0.1 I did poke around in the database: $ delve file -t d024 Posting List for term `d024' (termfreq 1, collfreq 2, wdf_max 2): 121648 (interesting that baloosearch returns two files for d024 but the milou widget nothing) $ balooshow 121648 121648 /media/.../Inbox.msf Line Count: 69180 I redirected the output of $ delve -r 184543 and by comparing it to the results from 184541 (D023 FileList.txt) I think I am closer to the cause of the problem... The file information for 184543 (D024 FileList.txt) is: Ffilelist Ftxt - I think this is because the file was originally named FileList.txt but was moved and renamed (Using Dolphin). However, I should note that the same is true of D023 FileList.txt and previous files. But a file I moved and renamed yesterday exhibits the same problem. Hope this helps. |
KDE Developer
|
I apologize, but I cannot provide support for or actually fix anything in the KDE 4 version.
With Plasma 5, lots of code has changed. In fact between Plasma 5.3 and 5.4 (August 2015), we have even replaced Xapian. |
Registered Member
|
Understood... Fortunately, I am curious about Plasma 5 and have a fully updated install of KaOS. (Plasma 5.3.1 Qt 5.4.1)
The same issue seems to exist in that version too. It is easy to recreate... Create a text file with some searchable terms:
Then rename the file:
As you can see the rename is recognised, but the new name is not reflected in the seach terms. However, if the file is then edited:
The new file name is added to the search terms. |
KDE Developer
|
Right. The filename isn't actually updated in the xapian db.
Fortunately, this is fixed in master
|
Registered Member
|
So... fixed in the next release
Thanks, Gregg |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]