Unverified Commit e29e11f1 authored by Tao Feng's avatar Tao Feng Committed by GitHub

Update table ES document (#93)

parent 8b9456f1
...@@ -42,7 +42,7 @@ class ElasticsearchPublisher(Publisher): ...@@ -42,7 +42,7 @@ class ElasticsearchPublisher(Publisher):
"mappings":{ "mappings":{
"table":{ "table":{
"properties": { "properties": {
"table_name": { "name": {
"type":"text", "type":"text",
"analyzer": "simple", "analyzer": "simple",
"fields": { "fields": {
...@@ -60,11 +60,11 @@ class ElasticsearchPublisher(Publisher): ...@@ -60,11 +60,11 @@ class ElasticsearchPublisher(Publisher):
} }
} }
}, },
"table_last_updated_epoch": { "last_updated_epoch": {
"type": "date", "type": "date",
"format": "epoch_second" "format": "epoch_second"
}, },
"table_description": { "description": {
"type": "text", "type": "text",
"analyzer": "simple" "analyzer": "simple"
}, },
...@@ -81,7 +81,7 @@ class ElasticsearchPublisher(Publisher): ...@@ -81,7 +81,7 @@ class ElasticsearchPublisher(Publisher):
"type": "text", "type": "text",
"analyzer": "simple" "analyzer": "simple"
}, },
"tag_names": { "tags": {
"type": "keyword" "type": "keyword"
}, },
"cluster": { "cluster": {
...@@ -90,7 +90,7 @@ class ElasticsearchPublisher(Publisher): ...@@ -90,7 +90,7 @@ class ElasticsearchPublisher(Publisher):
"database": { "database": {
"type": "text" "type": "text"
}, },
"table_key": { "key": {
"type": "keyword" "type": "keyword"
}, },
"total_usage":{ "total_usage":{
......
from setuptools import setup, find_packages from setuptools import setup, find_packages
__version__ = '1.3.2' __version__ = '1.3.3'
setup( setup(
......
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