Merge pull request #1782 from nosahama/patch-1
Updated text-indexes.rst
This commit is contained in:
@@ -48,4 +48,4 @@ Ordering by text score
|
||||
|
||||
::
|
||||
|
||||
objects = News.objects.search('mongo').order_by('$text_score')
|
||||
objects = News.objects.search_text('mongo').order_by('$text_score')
|
||||
|
||||
Reference in New Issue
Block a user