Close waits until all added items are flushed and closes the indexer.
(context.Context)
| 54 | |
| 55 | // Close waits until all added items are flushed and closes the indexer. |
| 56 | Close(context.Context) error |
| 57 | |
| 58 | // Flush drains all currently queued items, flushes all worker buffers to |
| 59 | // Elasticsearch, and waits for the flushes to complete. The indexer remains |
no outgoing calls