summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/serve.fnl6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl
index 63e4a3b..4d982c2 100644
--- a/bin/serve.fnl
+++ b/bin/serve.fnl
@@ -23,7 +23,9 @@
"шэн" "шен"
"шен" "шэн"
"доска" "чабань"
- "чабань" "доска"})
+ "чабань" "доска"
+ "термос" "бутылка"
+ "бутылка" "термос"})
(fn unescape [s]
(assert (= (type s) :string) "s must be string")
@@ -78,7 +80,7 @@
(.. "(" q "* OR " (. query-synonyms q) "*)")
(.. q "*")))
(str.split query))
- " ")))
+ " AND ")))
(local where-sql (array.join where-conds "\nAND "))
(local total