[tracker] tracker-search: Don't append "*" to all fts:match queries
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-search: Don't append "*" to all fts:match queries
- Date: Thu, 27 May 2010 09:49:31 +0000 (UTC)
commit 8a80d14cd9985bfddad2153ee0e0833c255aead7
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]