angular-elastic-builder
angular-elastic-builder copied to clipboard
This is an Angular.js directive for building an Elasticsearch query. You just give it the fields and can generate a query for it.
datepickerpopup isn't working now when select calendar. http://prntscr.com/offhs9
hihi @dncrews i have use your example to build query like that ``` { "size": 10, "filter": { "and": [ { "term": { "appkey": "710659" } } ] } }...
setting $scope.elasticQueryBuilder.query and $scope.elasticQueryBuilder.needsUpdate = true does not work. I changed file dist/angular-elastic-builder.js, line 478 from prev[choice] = truthy === (~group[key][obj.field].indexOf(choice)); to prev[choice] = truthy === (group[key][obj.field].indexOf(choice) >= 0); to...
Thanks for a great project. The more I read up on the changes in the Query DSL post version 2.0 ... it seems like 'and', 'or', 'all' and 'any' .....
@dncrews When parsed into the builder, date fields from a query default to the current date with fixed format (calendar default format). Only some ISO formats are recognized