mirror of
https://github.com/Hopiu/xapian-haystack.git
synced 2026-03-16 22:20:31 +00:00
Changed get_matches_estimated to size using all documents. This should be more accurate.
This commit is contained in:
parent
e65cecdb55
commit
b8427fa20e
1 changed files with 1 additions and 1 deletions
|
|
@ -843,7 +843,7 @@ class SearchBackend(BaseSearchBackend):
|
|||
"""
|
||||
return self._get_enquire_mset(
|
||||
database, enquire, 0, database.get_doccount()
|
||||
).get_matches_estimated()
|
||||
).size()
|
||||
|
||||
def _value_column(self, field):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue