Skip to content

Commit c3d23fe

Browse files
committed
update the query page to work with 1.0.x
get mapping response have been changed from something like { "index_name" : { "mapping_name": { [...] } } } to { "index_name" : { "mappings : { "mapping_name": { [...] } } } }
1 parent 9bc2d4b commit c3d23fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_site/js/controllers/DropdownCtrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function DropdownCtrl($scope, $http, Data, pubsub) {
2222

2323
$scope.indices.push(i);
2424
$scope.types[i] = [];
25-
for (j in response.data[i]){
25+
for (j in response.data[i].mappings){
2626

2727
$scope.types[i].push(j);
2828
}

0 commit comments

Comments
 (0)