Skip to content

Commit

Permalink
Update table search index mapping (#262)
Browse files Browse the repository at this point in the history
* Update table search index mapping

* update
  • Loading branch information
feng-tao authored May 19, 2020
1 parent edbb208 commit 69ea36a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions databuilder/publisher/elasticsearch_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"name": {
"type":"text",
"analyzer": "simple",
"search_analyzer": "whitespace",
"fields": {
"raw": {
"type": "keyword"
Expand All @@ -25,6 +26,7 @@
"schema": {
"type":"text",
"analyzer": "simple",
"search_analyzer": "whitespace",
"fields": {
"raw": {
"type": "keyword"
Expand All @@ -40,11 +42,12 @@
},
"description": {
"type": "text",
"analyzer": "simple"
"analyzer": "simple",
"search_analyzer": "whitespace",
},
"column_names": {
"type":"text",
"analyzer": "simple",
"analyzer": "whitespace",
"fields": {
"raw": {
"type": "keyword"
Expand All @@ -53,7 +56,8 @@
},
"column_descriptions": {
"type": "text",
"analyzer": "simple"
"analyzer": "simple",
"search_analyzer": "whitespace",
},
"tags": {
"type": "keyword"
Expand All @@ -66,7 +70,7 @@
},
"database": {
"type": "text",
"analyzer": "simple",
"analyzer": "whitespace",
"fields": {
"raw": {
"type": "keyword"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages


__version__ = '2.5.14'
__version__ = '2.5.15'

requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt')
with open(requirements_path) as requirements_file:
Expand Down

0 comments on commit 69ea36a

Please sign in to comment.