Skip to content

Commit e38befe

Browse files
committed
Search | Concept/Mapping | external_id search to not rank higher than ID/Name
1 parent 1f809d9 commit e38befe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

core/concepts/documents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Django:
5252

5353
@staticmethod
5454
def get_match_phrase_attrs():
55-
return ['_name', 'external_id']
55+
return ['_name']
5656

5757
@staticmethod
5858
def get_exact_match_attrs():

core/mappings/documents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Django:
4949

5050
@staticmethod
5151
def get_match_phrase_attrs():
52-
return ['from_concept', 'to_concept', 'external_id']
52+
return ['from_concept', 'to_concept']
5353

5454
@staticmethod
5555
def get_exact_match_attrs():

0 commit comments

Comments
 (0)