Updates the backend when given a SearchIndex and a collection of documents. This method MUST be implemented by each backend, as it will be highly specific to each one.
(self, index, iterable, commit=True)
| 82 | self.distance_available = connection_options.get("DISTANCE_AVAILABLE", False) |
| 83 | |
| 84 | def update(self, index, iterable, commit=True): |
| 85 | """ |
| 86 | Updates the backend when given a SearchIndex and a collection of |
| 87 | documents. |
| 88 | |
| 89 | This method MUST be implemented by each backend, as it will be highly |
| 90 | specific to each one. |
| 91 | """ |
| 92 | raise NotImplementedError |
| 93 | |
| 94 | def remove(self, obj_or_string): |
| 95 | """ |
no outgoing calls
no test coverage detected