Bug 303383

Summary: Port the QueryService to the Query::ResultIterator
Product: [Unmaintained] nepomuk Reporter: Vishesh Handa <me>
Component: queryserviceAssignee: Sebastian Trueg <trueg>
Status: RESOLVED FIXED    
Severity: task CC: bladud, 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:04:18 UTC
The query service 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: nepomuk-core/services/query/searchrunnable.cpp
Relevant Functions: SearchRunnable::run() and SearchRunnable::extractResult()
Comment 1 Simeon Bird 2012-08-09 01:46:19 UTC
I did this, but I failed to add the right metadata to the commit, which was:
6d245db57a02d0a59a71224f0f404796d7fc82c2

Apologies. Can someone please close?