- All Known Implementing Classes:
IdLoader.StoredIdLoader
,IdLoader.TsIdLoader
Responsible for loading the _id from stored fields or for TSDB synthesizing the _id from the routing, _tsid and @timestamp fields.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Returns a leaf instance for a leaf reader that returns the _id for segment level doc ids.static final class
static final class
static final class
static final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdLoader
createTsIdLoader
(IndexRouting.ExtractFromSource indexRouting, List<String> routingPaths) static IdLoader
leaf
(LeafStoredFieldLoader loader, org.apache.lucene.index.LeafReader reader, int[] docIdsInLeaf)
-
Method Details
-
fromLeafStoredFieldLoader
- Returns:
- returns an
IdLoader
instance the loads the _id from stored field.
-
createTsIdLoader
static IdLoader createTsIdLoader(IndexRouting.ExtractFromSource indexRouting, List<String> routingPaths) - Returns:
- returns an
IdLoader
instance that syn synthesizes _id from routing, _tsid and @timestamp fields.
-
leaf
IdLoader.Leaf leaf(LeafStoredFieldLoader loader, org.apache.lucene.index.LeafReader reader, int[] docIdsInLeaf) throws IOException - Throws:
IOException
-