-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[ML-DataFrame] version data frame transform internal index #45375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 7 commits
e67a1aa
0ee1be3
1f4e500
9975df7
446251b
2726149
c62c602
fb4b4f3
a6e28d6
d8aea65
8a6ea02
49a2e07
a91d89d
b7fa3d9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -110,7 +110,7 @@ static void getStatisticSummations(Client client, ActionListener<DataFrameIndexe | |
| .filter(QueryBuilders.termQuery(DataFrameField.INDEX_DOC_TYPE.getPreferredName(), | ||
| DataFrameTransformStoredDoc.NAME))); | ||
|
|
||
| SearchRequestBuilder requestBuilder = client.prepareSearch(DataFrameInternalIndex.INDEX_NAME) | ||
| SearchRequestBuilder requestBuilder = client.prepareSearch(DataFrameInternalIndex.LATEST_INDEX_NAME) | ||
|
||
| .setSize(0) | ||
| .setQuery(queryBuilder); | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -114,7 +114,7 @@ protected void masterOperation(Task task, XPackUsageRequest request, ClusterStat | |
| } | ||
| ); | ||
|
|
||
| SearchRequest totalTransformCount = client.prepareSearch(DataFrameInternalIndex.INDEX_NAME) | ||
| SearchRequest totalTransformCount = client.prepareSearch(DataFrameInternalIndex.LATEST_INDEX_NAME) | ||
|
||
| .setTrackTotalHits(true) | ||
| .setQuery(QueryBuilders.constantScoreQuery(QueryBuilders.boolQuery() | ||
| .filter(QueryBuilders.termQuery(DataFrameField.INDEX_DOC_TYPE.getPreferredName(), DataFrameTransformConfig.NAME)))) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.