mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-08 17:10:58 +00:00
This allows the user to retrieve the scores for each search result:
for page in Page.objects.search("Hello").annotate_score('_score'):
print(page.title, page._score)
|
||
|---|---|---|
| .. | ||
| backends.rst | ||
| index.rst | ||
| indexing.rst | ||
| searching.rst | ||