This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Find is not using nepomuk

Tags: None
(comma "," separated)
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Find is not using nepomuk

Tue Apr 03, 2012 11:43 am
Since ages Dolphin it's not searching using nepomuk and it's doing a silly find using filenamesearch.

I have this problem since KDE 4.5, the last version Dolphin's nepomuk search was useful to me, in several openSUSE and KDE versions, currently openSUSE 11.3 and 12.1 and KDE 4.8.1.

I want to disable at all filenamesearch and only use nepomuk.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Find is not using nepomuk

Tue Apr 03, 2012 12:01 pm
It's working for me and I'm set up same as you, could you test as a different user

I was gonna suggest you try Nepoogle but ......


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: Find is not using nepomuk

Tue Apr 03, 2012 12:16 pm
google01103 wrote:It's working for me and I'm set up same as you, could you test as a different user

I was gonna suggest you try Nepoogle but ......

:D a funny suggestion ;)

Ok, I tested using other users, even a fresh user in both systems but it's not working. I even launch Dolphin from console to see the output but there is no errors. If I selected things from the good-for-nothing Search panel then a nepomuk search is launched but when I write something then filenamesearch is used.

I even try a search first using KRunner and then copy the text to Dolphin without luck.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Find is not using nepomuk

Tue Apr 03, 2012 12:39 pm
does the Nepomuk runner work? I didn't follow you last sentence

you could try running kdebugdialog, deslecting all, selecting nepomuk (strigi sevice), nepomuk (query service), kio_nepomuksearch (and any other you think relevant, as I'm just guessing) then close and reopen Dolphin (just in case) and try a query and see if there's anything useful in ~/.xsexxion-errors


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: Find is not using nepomuk

Tue Apr 03, 2012 1:12 pm
google01103 wrote:does the Nepomuk runner work? I didn't follow you last sentence

you could try running kdebugdialog, deslecting all, selecting nepomuk (strigi sevice), nepomuk (query service), kio_nepomuksearch (and any other you think relevant, as I'm just guessing) then close and reopen Dolphin (just in case) and try a query and see if there's anything useful in ~/.xsexxion-errors

Yes, KRunner is working as expected, I only have problems with Dolphin.

I will try your suggestion.

UPDATE: I tried with debug enabled and I don't see any error or problem. Searching using the panel works as expected and I can read what queries are executed but when I wrote something the filenamesearch is used without any notification.

This is the console output when I wrote a search:
Code: Select all
dolphin(23290)/nepomuk (library) Nepomuk::Utils::Facet::setClientQuery: "<?xml version="1.0"?><query limit="0" offset="0" fullTextScoring="false" fullTextScoringOrder="desc" flags=""/>
"
dolphin(23290)/nepomuk (library) Nepomuk::Utils::Facet::setClientQuery: "<?xml version="1.0"?><query limit="0" offset="0" fullTextScoring="false" fullTextScoringOrder="desc" flags=""/>
"
dolphin(23290)/nepomuk (library) Nepomuk::Utils::Facet::setClientQuery: "<?xml version="1.0"?><query limit="0" offset="0" fullTextScoring="false" fullTextScoringOrder="desc" flags=""/>
"
dolphin(23290)/nepomuk (library) Nepomuk::Utils::Facet::setClientQuery: "<?xml version="1.0"?><query limit="0" offset="0" fullTextScoring="false" fullTextScoringOrder="desc" flags=""/>
"
dolphin(23290)/nepomuk (library) Nepomuk::Utils::Facet::setClientQuery: "<?xml version="1.0"?><query limit="0" offset="0" fullTextScoring="false" fullTextScoringOrder="desc" flags=""/>
"
dolphin(23290)/nepomuk (library) Nepomuk::Utils::Facet::setClientQuery: "<?xml version="1.0"?><query limit="0" offset="0" fullTextScoring="false" fullTextScoringOrder="desc" flags=""/>
"
kfilemetadatareader(23320)/nepomuk (library) <unnamed>::GlobalModelContainer::init: Connecting to local socket "/tmp/ksocket-ignacioouFp66/nepomuk-socket"


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Find is not using nepomuk

Wed Apr 04, 2012 10:13 pm
Are you sure that all folders/files you are trying to search are indexed by Nepomuk? I am not sure of the exact behaviour, but would not be surprised if it fell back to using direct filename search.

Also, have you tried selecting "Content" as the search method instead?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Find is not using nepomuk

Wed Apr 04, 2012 10:37 pm
You need to use "from here" not "everywhere" and (possibly) the entire "from here" folder must be indexed


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: Find is not using nepomuk

Sun Apr 08, 2012 3:22 pm
bcooksley wrote:Are you sure that all folders/files you are trying to search are indexed by Nepomuk? I am not sure of the exact behaviour, but would not be surprised if it fell back to using direct filename search.

Also, have you tried selecting "Content" as the search method instead?

I'm using all the combinations and, as I explained, I'm using a query is working in KRunner.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Find is not using nepomuk

Mon Apr 09, 2012 11:29 am
Are you able to reproduce under a new user with some sample data?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: Find is not using nepomuk

Mon Apr 09, 2012 11:35 am
bcooksley wrote:Are you able to reproduce under a new user with some sample data?

Yes, I can reproduce the problem with new and old users and in two different systems, one with openSUSE 11.3 and the other openSUSE 12.1.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Find is not using nepomuk

Mon Apr 09, 2012 11:18 pm
I would recommend filing a bug report then, as it should work.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: Find is not using nepomuk

Tue Apr 10, 2012 11:18 am
bcooksley wrote:I would recommend filing a bug report then, as it should work.

My intention when I wrote this post is obtain more information about this problem to fill a bug report but I think I did not obtained enough information to create a good one.

For me this is not a real problem, because I'm using Nepoogle, but I wonder if other people has the same issue :-\.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: Find is not using nepomuk  Topic is solved

Fri Jun 29, 2012 3:29 pm
Finally I found the problem, if you are displaying in Dolphin a not indexed directory filenameseach it's used but, If you are displaying an indexed directory, nepomuksearch it's used. As I don't have indexed my home or documents directory in any or my systems and users it's normal that the search was not working.

For me this is a bug but could be a developer decision.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee, Sogou [Bot]