Bug 303382

Summary: Port the nepomuksearch kiosalve to the Query::ResultIterator
Product: [Unmaintained] nepomuk Reporter: Vishesh Handa <me>
Component: kioslave - nepomuksearchAssignee: Sebastian Trueg <trueg>
Status: RESOLVED FIXED    
Severity: task CC: me
Priority: NOR Keywords: junior-jobs
Version: git master   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vishesh Handa 2012-07-11 18:01:18 UTC
The nepomuksearch kio slave explicitly uses the ResourceManager::mainModel() to run a sparql query and then extracts the results from the Soprano::QueryResultIterator into Nepomuk2::Query::Result.

This entire process can be replaced by the Query::ResultIterator.

Relevant Code: kde-runtime/nepomuk/kioslaves/search/searchfolder.cpp
Relevant Functions: SearchFolder::list() and SearchFolder::extractResult(..)
Comment 1 Vishesh Handa 2012-11-27 12:51:45 UTC
Git commit dcc2a510d7678fc9f28912918609c844f6048368 by Vishesh Handa.
Committed on 27/11/2012 at 13:40.
Pushed by vhanda into branch 'master'.

Nepomuk Search KIO Slave: Port to the Query::ResultIterator

No point duplicating code.

REVIEW: 107466
CCMAIL: poetabh@gmail.com

Patch contributed by Gabriel Poesia <poetabh@gmail.com>

M  +3    -36   nepomuk/kioslaves/search/searchfolder.cpp
M  +0    -2    nepomuk/kioslaves/search/searchfolder.h

http://commits.kde.org/kde-runtime/dcc2a510d7678fc9f28912918609c844f6048368