[tracker/rss-enclosures] tracker-search: Don't append "*" to all fts:match queries



commit eb5d11cd6bc955eb53cdf12bfcd5eecad6c8866a
Author: Martyn Russell <martyn lanedo com>
Date:   Thu May 27 10:41:24 2010 +0100

    tracker-search: Don't append "*" to all fts:match queries
    
    This means that less results will be returned generally, but it also
    means the user has the option to add it when they want instead of
    never be able to remove it.

 src/tracker-utils/tracker-search.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-utils/tracker-search.c b/src/tracker-utils/tracker-search.c
index 94b94a7..ca18fc8 100644
--- a/src/tracker-utils/tracker-search.c
+++ b/src/tracker-utils/tracker-search.c
@@ -162,7 +162,6 @@ get_fts_string (GStrv    search_words,
 
 	for (i = 0; i < len; i++) {
 		g_string_append (fts, search_words[i]);
-		g_string_append_c (fts, '*');
 
 		if (i < len - 1) {
 			if (use_or_operator) {



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