mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 22:45:04 +00:00
Right now our unit tests in that area only simulate indexing single documents. As we go forward it should be easy to add other actions, like delete & bulk indexing. This commit extracts the common parts of the current indexing logic to a based class make it easier to extend.