[tracker] tracker-search: Use nfo:Document instead of nfo:PaginatedDocument



commit e31e851726fcf3d81516cda6924e2527817b3cd3
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Sep 24 09:45:55 2009 +0100

    tracker-search: Use nfo:Document instead of nfo:PaginatedDocument

 src/tracker-utils/tracker-search.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-utils/tracker-search.c b/src/tracker-utils/tracker-search.c
index 019faab..bf87559 100644
--- a/src/tracker-utils/tracker-search.c
+++ b/src/tracker-utils/tracker-search.c
@@ -217,7 +217,7 @@ get_document_files (TrackerClient *client,
 	if (fts) {
 		query = g_strdup_printf ("SELECT ?document "
 					 "WHERE { "
-					 "  ?document a nfo:PaginatedTextDocument ."
+					 "  ?document a nfo:Document ."
 					 "  ?document fts:match \"%s\" "
 					 "} "
 					 "ORDER BY ASC(?document) "
@@ -229,7 +229,7 @@ get_document_files (TrackerClient *client,
 	} else {
 		query = g_strdup_printf ("SELECT ?document "
 					 "WHERE { "
-					 "  ?document a nfo:PaginatedTextDocument "
+					 "  ?document a nfo:Document "
 					 "} "
 					 "ORDER BY ASC(?document) "
 					 "OFFSET %d "



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]