[tracker/wip/carlosg/tracker-3.0-api-breaks: 87/100] libtracker-common: Extend list of reserved words
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/tracker-3.0-api-breaks: 87/100] libtracker-common: Extend list of reserved words
- Date: Mon, 17 Feb 2020 18:16:07 +0000 (UTC)
commit aa590672a3e6fd2005b3858cd310055750e63591
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Feb 4 22:02:44 2020 +0100
libtracker-common: Extend list of reserved words
FTS4 and FTS5 introduced additional syntax. These are most likely
stop words too, but we should ignore them right away.
src/libtracker-common/tracker-parser-utils.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/libtracker-common/tracker-parser-utils.c b/src/libtracker-common/tracker-parser-utils.c
index dec597747..0394016ca 100644
--- a/src/libtracker-common/tracker-parser-utils.c
+++ b/src/libtracker-common/tracker-parser-utils.c
@@ -35,6 +35,9 @@ typedef struct {
} TrackerParserReservedWord;
static const TrackerParserReservedWord reserved_words[] = {
+ { "and", 3 },
+ { "near", 4 },
+ { "not", 3 },
{ "or", 2 },
{ NULL, 0 }
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]