mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
[ML] Search model state docs using correct id
Original commit: elastic/x-pack-elasticsearch@70400101ad
This commit is contained in:
parent
f06b4fbbaf
commit
a6c62f0717
@ -1119,7 +1119,7 @@ public class JobProvider {
|
|||||||
// the order the C++ process expects.
|
// the order the C++ process expects.
|
||||||
int numDocs = modelSnapshot.getSnapshotDocCount();
|
int numDocs = modelSnapshot.getSnapshotDocCount();
|
||||||
for (docNum = 1; docNum <= numDocs; ++docNum) {
|
for (docNum = 1; docNum <= numDocs; ++docNum) {
|
||||||
String docId = String.format(Locale.ROOT, "%s_%d", modelSnapshot.getSnapshotId(), docNum);
|
String docId = String.format(Locale.ROOT, "%s_%d", ModelSnapshot.documentId(modelSnapshot), docNum);
|
||||||
|
|
||||||
LOGGER.trace("ES API CALL: get ID {} type {} from index {}", docId, ModelState.TYPE, indexName);
|
LOGGER.trace("ES API CALL: get ID {} type {} from index {}", docId, ModelState.TYPE, indexName);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user