mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Adds tests for search boost
& order_by_revelance
.
This commit is contained in:
parent
77ae8eac50
commit
2379da96e4
@ -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 New Issue
Block a user