Skip to content

Commit

Permalink
Minor fix to autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed May 28, 2020
1 parent 905ed9e commit 4e58b6d
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
{
"transform.preview_transform": {
"data_autocomplete_rules": {
"source": {
"description": "",
"dest": {
"__template": {
"index": "SOURCE_INDEX_NAME"
"index": "DESTINATION_INDEX_NAME"
},
"index": "",
"query": {
"__scope_link": "GLOBAL.query"
}
},
"settings": {
"docs_per_second": null,
"max_page_search_size": 500
"index": "DESTINATION_INDEX_NAME",
"pipeline": ""
},
"frequency": "1m",
"pivot": {
"group_by": {
"__template": {
Expand All @@ -27,6 +23,32 @@
},
"__scope_link": "GLOBAL.aggregations"
}
},
"settings": {
"__template": {
"docs_per_second": null,
"max_page_search_size": 500
}
},
"source": {
"__template": {
"index": "SOURCE_INDEX_NAME"
},
"index": "SOURCE_INDEX_NAME",
"query": {
"__scope_link": "GLOBAL.query"
}
},
"sync": {
"__template": {
"time": {
"field": ""
}
},
"time": {
"field": "",
"delay": "60s"
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
}
},
"settings": {
"docs_per_second": null,
"max_page_search_size": 500
"__template": {
"docs_per_second": null,
"max_page_search_size": 500
}
},
"source": {
"__template": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,37 @@
"description": "",
"dest": {
"__template": {
"index": ""
"index": "DESTINATION_INDEX_NAME"
},
"index": "",
"index": "DESTINATION_INDEX_NAME",
"pipeline": ""
},
"frequency": "1m",
"pivot": {
"group_by": {
"__template": {
"NAME": {}
},
"__scope_link": "GLOBAL.groupByAggs"
},
"aggregations": {
"__template": {
"NAME": {}
},
"__scope_link": "GLOBAL.aggregations"
}
},
"settings": {
"docs_per_second": null,
"max_page_search_size": 500
"__template": {
"docs_per_second": null,
"max_page_search_size": 500
}
},
"source": {
"__template": {
"index": ""
"index": "SOURCE_INDEX_NAME"
},
"index": "",
"index": "SOURCE_INDEX_NAME",
"query": {
"__scope_link": "GLOBAL.query"
}
Expand Down

0 comments on commit 4e58b6d

Please sign in to comment.