Determine if an object should be updated in the index. It's useful to override this when an object may save frequently and cause excessive reindexing. You should check conditions on the instance and return False if it is not to be indexed. By default, retur
(self, instance, **kwargs)
| 373 | return None |
| 374 | |
| 375 | def should_update(self, instance, **kwargs): |
| 376 | """ |
| 377 | Determine if an object should be updated in the index. |
| 378 | |
| 379 | It's useful to override this when an object may save frequently and |
| 380 | cause excessive reindexing. You should check conditions on the instance |
| 381 | and return False if it is not to be indexed. |
| 382 | |
| 383 | By default, returns True (always reindex). |
| 384 | """ |
| 385 | return True |
| 386 | |
| 387 | def load_all_queryset(self): |
| 388 | """ |