Merge pull request #1782 from nosahama/patch-1
Updated text-indexes.rst
This commit is contained in:
commit
06048b6d71
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user