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

How to search Nepomuk tags on KDE 4.9.4

Tags: None
(comma "," separated)
rangel
Registered Member
Posts
13
Karma
0
Hi
Since Dolphin no longer supports search by Nepomuk tags, I wonder what is the use of Nepomuk at all (both the semantic desktop and the file indexer)?.
In addition, I must say that even though the file indexer is idle and I have ~19 000 files indexed using the Nepomuk Desktop Search yield very poor results (i.e. only a handful of results) on even very common words which are found in many of my documents/scripts.
I hope this doesn't sound too sarcastic, because it's not. I'd really appreciate tips on what can actually be done with Nepomuk semantic desktop and indexer.

Thanks in advance,
Roey
Odaer
Registered Member
Posts
12
Karma
0
At least in kde 4.10 rc you can use kio like
Code: Select all
tags:/<if empty list all tags>

Or use nepomuksearch like
Code: Select all
nepomuksearch:/hasTags:<tag1> and hasTag:<tag2>

You can use it from all application with kioslave support inclusive the terminal with the kioclient command
more http://userbase.kde.org/Nepomuk/kioslaves/search
rangel
Registered Member
Posts
13
Karma
0
Thanks!
It took me a bit of googling to figure out what you're talking about (never heard of kio) and also figuring out that I need to run these from Dolphin search bar.
In any case I don't have KDE 4.10 yet only the stable 4.9.4, and these commands don't work on it (neither
I did manage to make a simple query search using
Code: Select all
nepomuksearch:/?query='Query'

But the files I got did not contain the word 'Query' so I don't really understand based on what they were chosen (also looking for other keywords yielded puzzling results).
What am I missing out here?

Is there a concise guide somewhere or a cheatsheet?
Should I just wait for release 4.10?

Thanks again for the help
Roey
User avatar
google01103
Manager
Posts
6668
Karma
25
there's a python app you could try called nepoogle that can be found at http://kde-apps.org/content/show.php/Ne ... ent=145505


OpenSuse Leap 42.1 x64, Plasma 5.x

rangel
Registered Member
Posts
13
Karma
0
Thanks!
I managed to run it but only the git version (https://github.com/serantes/nepoogle).
It searches for tags nicely but when searching just a keyword I only get files with the keyword in their name not in their content and for searching files by name I can use other faster tools.

Is there a way to search within the file?

Thanks again,
Roey
User avatar
google01103
Manager
Posts
6668
Karma
25
suggestion - start a new thread with Nepoogle in the subject, the apps author may see it and respond


OpenSuse Leap 42.1 x64, Plasma 5.x

Odaer
Registered Member
Posts
12
Karma
0
I have really no idea.
But maybe try troubleshoot with manually add a file (in the terminal) to the index with
Code: Select all
nepomukindexer <file>
.
I tried this (with disabled indexer so it shouldn't be automatically added) and the file got added and was searchable with the usual tools.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS
rangel wrote:Thanks!
I managed to run it but only the git version (https://github.com/serantes/nepoogle).
It searches for tags nicely but when searching just a keyword I only get files with the keyword in their name not in their content and for searching files by name I can use other faster tools.

Is there a way to search within the file?

Thanks again,
Roey

Nepoogle versions previous to 1.0 only search in content properties using related ontologies, for example nie:PlainTextContent:"a search text".

After Nepoogle 1.0 included search in content is automatic.


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


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]