Unverified Commit 0fc85e76 authored by Tao Feng's avatar Tao Feng Committed by GitHub

fix: revert default search mapping change (#276)

* Revert "Fix ES mapping typo (#267)"

This reverts commit 5dca1c24.

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

This reverts commit 69ea36a6.

* fix: revert default search mapping  change
parent a8440b13
......@@ -16,7 +16,6 @@ TABLE_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent(
"name": {
"type":"text",
"analyzer": "simple",
"search_analyzer": "whitespace",
"fields": {
"raw": {
"type": "keyword"
......@@ -26,7 +25,6 @@ TABLE_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent(
"schema": {
"type":"text",
"analyzer": "simple",
"search_analyzer": "whitespace",
"fields": {
"raw": {
"type": "keyword"
......@@ -42,12 +40,11 @@ TABLE_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent(
},
"description": {
"type": "text",
"analyzer": "simple",
"search_analyzer": "whitespace"
"analyzer": "simple"
},
"column_names": {
"type":"text",
"analyzer": "whitespace",
"analyzer": "simple",
"fields": {
"raw": {
"type": "keyword"
......@@ -56,8 +53,7 @@ TABLE_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent(
},
"column_descriptions": {
"type": "text",
"analyzer": "simple",
"search_analyzer": "whitespace"
"analyzer": "simple"
},
"tags": {
"type": "keyword"
......@@ -70,7 +66,7 @@ TABLE_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent(
},
"database": {
"type": "text",
"analyzer": "whitespace",
"analyzer": "simple",
"fields": {
"raw": {
"type": "keyword"
......
......@@ -2,7 +2,7 @@ import os
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment