Closed romainnorberg closed 5 years ago
getNbResult() methods execute search()
getNbResult()
search()
-> use the count() method for performance gain (this add "size": 0 to ES query)
count()
"size": 0
cf: https://github.com/whiteoctober/Pagerfanta/pull/213
thanks @stof
getNbResult()
methods executesearch()
-> use the
count()
method for performance gain (this add"size": 0
to ES query)cf: https://github.com/whiteoctober/Pagerfanta/pull/213