Returns the stats results found by the query.
(self)
| 554 | return clone.query.get_facet_counts() |
| 555 | |
| 556 | def stats_results(self): |
| 557 | """ |
| 558 | Returns the stats results found by the query. |
| 559 | """ |
| 560 | if self.query.has_run(): |
| 561 | return self.query.get_stats() |
| 562 | else: |
| 563 | clone = self._clone() |
| 564 | return clone.query.get_stats() |
| 565 | |
| 566 | def set_spelling_query(self, spelling_query): |
| 567 | """Set the exact text to be used to generate spelling suggestions |