Comments (1)
Sorry for the thrashing on the issue. My code to replicate the issue was incorrect.
Here's are two version of actual code that replicate the issue seen:
include Elasticsearch::DSL
query = search do
aggregation(:filters) do
filters do
filters(issues: { term: { type: 'issue' } }, pull_requests: { term: { type: 'pr' } })
other_bucket(true)
end
end
end
query.as_json
include Elasticsearch::DSL
query = search do |search|
search.aggregation(:filters) do |aggregation|
aggregation.filters do |filters|
filters.filters(issues: { term: { type: 'issue' } }, pull_requests: { term: { type: 'pr' } })
filters.other_bucket(true)
end
end
end
query.as_json
from elasticsearch-dsl-ruby.
Related Issues (20)
- [elasticsearch-dsl] BaseAggregationComponent#to_hash pollutes @hash
- distance_feature support? HOT 1
- Sampler Aggregation in elasticsearch-dsl HOT 1
- Support for calendar_interval
- Missing match_phrase query on elasticsearch-dsl
- date_histogram combined interval field is deprecated
- DSL AST initialisation recursively searches up namespaces for consts
- [DSL] handle multiple values (array) HOT 4
- Example request: Sorting by nested attribute value
- Initialize an instance of Search from_hash
- Other bucket aggregation support HOT 1
- Not able to specify missing_value in aggregation
- How to combine bool query must with should
- How to use DSL HOT 1
- Global Aggregations HOT 3
- [DSL] Support for non-search DSLs? HOT 2
- DSL constantizes & instantiates a class on method_missing
- Inconsistent getters and setters HOT 7
- Nested bool filters not supported? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch-dsl-ruby.