Skip to content

Commit 925e4c3

Browse files
committed
Search | boost on ID is higher
1 parent 7f3fae4 commit 925e4c3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

core/concepts/documents.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ def get_match_phrase_attrs():
5858
def get_exact_match_attrs():
5959
return {
6060
'id': {
61-
'boost': 40
61+
'boost': 50
6262
},
6363
'name': {
6464
'boost': 15
6565
},
6666
'external_id': {
67-
'boost': 10
67+
'boost': 6
6868
},
6969
'same_as_map_codes': {
7070
'boost': 5.5,
@@ -78,7 +78,7 @@ def get_exact_match_attrs():
7878
def get_wildcard_search_attrs():
7979
return {
8080
'id': {
81-
'boost': 25
81+
'boost': 35
8282
},
8383
'name': {
8484
'boost': 23

0 commit comments

Comments
 (0)