Skip to content

Commit

Permalink
fix: revert default search mapping change (#276)
Browse files Browse the repository at this point in the history
* Revert "Fix ES mapping typo (#267)"

This reverts commit 5dca1c2.

* Revert "Update table search index mapping (#262)"

This reverts commit 69ea36a.

* fix: revert default search mapping  change
  • Loading branch information
feng-tao committed May 30, 2020
1 parent a8440b1 commit 0fc85e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions databuilder/publisher/elasticsearch_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"name": {
"type":"text",
"analyzer": "simple",
"search_analyzer": "whitespace",
"fields": {
"raw": {
"type": "keyword"
Expand All @@ -26,7 +25,6 @@
"schema": {
"type":"text",
"analyzer": "simple",
"search_analyzer": "whitespace",
"fields": {
"raw": {
"type": "keyword"
Expand All @@ -42,12 +40,11 @@
},
"description": {
"type": "text",
"analyzer": "simple",
"search_analyzer": "whitespace"
"analyzer": "simple"
},
"column_names": {
"type":"text",
"analyzer": "whitespace",
"analyzer": "simple",
"fields": {
"raw": {
"type": "keyword"
Expand All @@ -56,8 +53,7 @@
},
"column_descriptions": {
"type": "text",
"analyzer": "simple",
"search_analyzer": "whitespace"
"analyzer": "simple"
},
"tags": {
"type": "keyword"
Expand All @@ -70,7 +66,7 @@
},
"database": {
"type": "text",
"analyzer": "whitespace",
"analyzer": "simple",
"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.18'
__version__ = '2.5.19'

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 0fc85e7

Please sign in to comment.