Class IndexRouting.ExtractFromSource.ForRoutingPath

Enclosing class:
IndexRouting.ExtractFromSource

public static class IndexRouting.ExtractFromSource.ForRoutingPath extends IndexRouting.ExtractFromSource
Strategy for indices that use IndexMetadata.INDEX_ROUTING_PATH to extract the routing value from the source. This is used primarily for time-series indices created before IndexVersions.TSID_CREATED_DURING_ROUTING and for LogsDB indices that route on specific fields. For time-series indices this strategy will result in dimensions to be extracted and hashed twice during indexing: once in the coordinating node during shard routing and then again in the data node to create the tsid during document parsing. The IndexRouting.ExtractFromSource.ForIndexDimensions strategy avoids this double hashing.