mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
In preparation for the removal of types, new security types like invalidated-tokens are stored in the .security index under the generic "doc" type, with a query filter on `doc_type`. In order to avoid id clashes, we also need to use that doc_type as part of the document id. relates elastic/x-pack-elasticsearch#1300 Original commit: elastic/x-pack-elasticsearch@469724a228