Commit 97ce1959 authored by Carlos Garnacho's avatar Carlos Garnacho

libtracker-miner: Perform URN queries in the tracker:FileSystem graph

The upper layers nowadays just poke URNs for folders, whose information
element is guaranteed to be in the tracker:FileSystem graph. This results
in a simpler and faster query.
parent e81f23b0
......@@ -704,8 +704,10 @@ sparql_urn_ensure_statement (TrackerFileNotifier *notifier,
tracker_sparql_connection_query_statement (priv->connection,
"SELECT ?ie "
" ~file a nfo:FileDataObject ;"
" nie:interpretedAs ?ie ."
" GRAPH tracker:FileSystem {"
" ~file a nfo:FileDataObject ;"
" nie:interpretedAs ?ie ."
" }"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment