[tracker-miners/wip/carlosg/indexed-folder-ontology: 3/4] tracker: Update "tracker search" CLI to tracker:available changes
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/indexed-folder-ontology: 3/4] tracker: Update "tracker search" CLI to tracker:available changes
- Date: Sat, 6 Jun 2020 15:27:13 +0000 (UTC)
commit 603ff1a7bfad5079f8bb5202c874a70cbccc7e19
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Jun 6 17:20:30 2020 +0200
tracker: Update "tracker search" CLI to tracker:available changes
src/tracker/tracker-search.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/tracker/tracker-search.c b/src/tracker/tracker-search.c
index 4a5bc76fe..97af6b369 100644
--- a/src/tracker/tracker-search.c
+++ b/src/tracker/tracker-search.c
@@ -552,7 +552,7 @@ get_document_files (TrackerSparqlConnection *connection,
const gchar *show_all_str;
gboolean success;
- show_all_str = show_all ? "" : "?document tracker:available true .";
+ show_all_str = show_all ? "" : "?document nie:dataSource/tracker:available true .";
fts = get_fts_string (search_terms, use_or_operator);
if (fts) {
@@ -606,7 +606,7 @@ get_video_files (TrackerSparqlConnection *connection,
const gchar *show_all_str;
gboolean success;
- show_all_str = show_all ? "" : "?video tracker:available true . ";
+ show_all_str = show_all ? "" : "?video nie:dataSource/tracker:available true . ";
fts = get_fts_string (search_terms, use_or_operator);
if (fts) {
@@ -660,7 +660,7 @@ get_image_files (TrackerSparqlConnection *connection,
const gchar *show_all_str;
gboolean success;
- show_all_str = show_all ? "" : "?image tracker:available true . ";
+ show_all_str = show_all ? "" : "?image nie:dataSource/tracker:available true . ";
fts = get_fts_string (search_terms, use_or_operator);
if (fts) {
@@ -714,7 +714,7 @@ get_music_files (TrackerSparqlConnection *connection,
const gchar *show_all_str;
gboolean success;
- show_all_str = show_all ? "" : "?song tracker:available true . ";
+ show_all_str = show_all ? "" : "?song nie:dataSource/tracker:available true . ";
fts = get_fts_string (search_terms, use_or_operator);
if (fts) {
@@ -1280,7 +1280,7 @@ get_files (TrackerSparqlConnection *connection,
const gchar *show_all_str;
gboolean success;
- show_all_str = show_all ? "" : "?u tracker:available true . ";
+ show_all_str = show_all ? "" : "?u nie:dataSource/tracker:available true . ";
fts = get_fts_string (search_terms, use_or_operator);
if (fts) {
@@ -1334,7 +1334,7 @@ get_folders (TrackerSparqlConnection *connection,
const gchar *show_all_str;
gboolean success;
- show_all_str = show_all ? "" : "?u tracker:available true . ";
+ show_all_str = show_all ? "" : "?u nie:dataSource/tracker:available true . ";
fts = get_fts_string (search_terms, use_or_operator);
if (fts) {
@@ -1392,7 +1392,7 @@ get_all_by_search (TrackerSparqlConnection *connection,
return FALSE;
}
- show_all_str = show_all ? "" : "?s tracker:available true . ";
+ show_all_str = show_all ? "" : "?s nie:dataSource/tracker:available true . ";
if (details) {
query = g_strdup_printf ("SELECT tracker:coalesce (nie:url (?s), ?s) nie:mimeType (?s) ?type
fts:snippet(?s, \"%s\", \"%s\") "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]