Skip to content

Commit

Permalink
Add Dashboard group_name to simple match. (#106)
Browse files Browse the repository at this point in the history
* Add Dashboard group_name to simple match.

Add Dashboard group_name to simple match.
Also, adjust scoring a bit.

* Update setup.py
  • Loading branch information
jinhyukchang authored May 19, 2020
1 parent e9a8cc9 commit 1af021b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions search_service/proxy/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,9 @@ def fetch_dashboard_search_results(self, *,
"multi_match": {
"query": query_term,
"fields": ["name.raw^75",
"name^5",
"group_name.raw^5",
"name^7",
"group_name.raw^15",
"group_name^7",
"description^3",
"query_names^3"]
}
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.3.1'
__version__ = '2.3.2'

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 1af021b

Please sign in to comment.