Skip to content

Commit

Permalink
search: search for project tags too
Browse files Browse the repository at this point in the history
  • Loading branch information
xrmx committed Mar 7, 2018
1 parent a29aa87 commit 09b3a89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readthedocs/search/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def search_project(request, query, language=None):
"should": [
{"match": {"name": {"query": query, "boost": 10}}},
{"match": {"description": {"query": query}}},
{"match": {"tags": {"query": query}}},
]
},
},
Expand Down

0 comments on commit 09b3a89

Please sign in to comment.