Skip to content

Commit

Permalink
use lowercase filter on edge analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Nov 30, 2020
1 parent 3b53d74 commit 966ec8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
14
15
5 changes: 1 addition & 4 deletions import-scripts/import_scripts/channel.py
Expand Up @@ -52,7 +52,7 @@
},
},
"analyzer": {
"edge": {"tokenizer": "edge"},
"edge": {"tokenizer": "edge", "filter": ["lowercase"]},
"lowercase": {
"type": "custom",
"tokenizer": "keyword",
Expand Down Expand Up @@ -199,9 +199,6 @@
}


# def field_reverse_str(field):


def string_reverse(text):
return text[::-1]

Expand Down

0 comments on commit 966ec8d

Please sign in to comment.