mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-03 23:00:38 +00:00
Adds tests for search boost & order_by_revelance.
This commit is contained in:
parent
77ae8eac50
commit
2379da96e4
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ class SearchTest(index.Indexed, models.Model):
|
|||
index.RelatedFields('subobjects', [
|
||||
index.SearchField('name', partial_match=True),
|
||||
]),
|
||||
index.SearchField('content'),
|
||||
index.SearchField('content', boost=2),
|
||||
index.SearchField('callable_indexed_field'),
|
||||
index.FilterField('title'),
|
||||
index.FilterField('live'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue