From ea46e71de6e9e345a4b0207f364d2e9afc110cc6 Mon Sep 17 00:00:00 2001 From: Tao Feng Date: Wed, 17 Jul 2019 16:33:34 -0700 Subject: [PATCH] Add database to search API (#39) --- search_service/proxy/elasticsearch.py | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/search_service/proxy/elasticsearch.py b/search_service/proxy/elasticsearch.py index 09469742..39a98f32 100644 --- a/search_service/proxy/elasticsearch.py +++ b/search_service/proxy/elasticsearch.py @@ -170,7 +170,8 @@ def fetch_table_search_results_with_field(self, *, 'tag': 'tags', 'schema': 'schema_name.raw', 'table': 'name.raw', - 'column': 'column_names.raw' + 'column': 'column_names.raw', + 'database': 'database.raw' } if query_term: diff --git a/setup.py b/setup.py index 48239023..9bbcfd09 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -__version__ = '1.1.2' +__version__ = '1.1.3' setup(