Skip to content

Commit

Permalink
search query clean up (#1393)
Browse files Browse the repository at this point in the history
  • Loading branch information
abeglova authored Aug 16, 2024
1 parent 97b0134 commit 9d7123f
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 108 deletions.
8 changes: 0 additions & 8 deletions learning_resources_search/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,6 @@ def generate_learning_resources_text_clause(text):
},
}
},
{
"wildcard": {
"readable_id": {
"value": f"{text.upper()}*",
"rewrite": "constant_score",
}
}
},
{
"nested": {
"path": "course.course_numbers",
Expand Down
Loading

0 comments on commit 9d7123f

Please sign in to comment.