Skip to content

Commit

Permalink
Add note on making search query more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
memgonzales committed Sep 9, 2023
1 parent 7c110b4 commit a7d617e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions callbacks/text_mining/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ def display_text_mining_results(text_mining_is_submitted, homepage_submitted, te

if num_unique_entries == 1:
stats = f'Found matches across {num_unique_entries} publication'
elif num_unique_entries == MAX_NUM_RESULTS:
stats = f'Found matches across over {num_unique_entries} publications. Consider making your search query more specific'
else:
stats = f'Found matches across {num_unique_entries} publications'

Expand Down

0 comments on commit a7d617e

Please sign in to comment.