Provides the ability to override how objects get loaded in conjunction with ``SearchQuerySet.load_all``. This is useful for post-processing the results from the query, enabling things like adding ``select_related`` or filtering certain data. By default, ret
(self)
| 385 | return True |
| 386 | |
| 387 | def load_all_queryset(self): |
| 388 | """ |
| 389 | Provides the ability to override how objects get loaded in conjunction |
| 390 | with ``SearchQuerySet.load_all``. |
| 391 | |
| 392 | This is useful for post-processing the results from the query, enabling |
| 393 | things like adding ``select_related`` or filtering certain data. |
| 394 | |
| 395 | By default, returns ``all()`` on the model's default manager. |
| 396 | """ |
| 397 | return self.get_model()._default_manager.all() |
| 398 | |
| 399 | |
| 400 | class BasicSearchIndex(SearchIndex): |