Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "offer.price": {
- "nested": {
- "path": "offer"
- },
- "aggregations": {
- "offer.price": {
- "filter": {
- "bool": {
- "must": [
- {
- "nested": {
- "path": "offer",
- "score_mode": "none",
- "query": {
- "terms": {
- "offer.seller_id": [
- 1
- ],
- "boost": 1
- }
- },
- "boost": 1
- }
- },
- {
- "nested": {
- "path": "offer",
- "score_mode": "none",
- "query": {
- "terms": {
- "offer.customer_group_id": [
- 0
- ],
- "boost": 1
- }
- },
- "boost": 1
- }
- }
- ],
- "must_not": [],
- "should": [],
- "minimum_should_match": 1,
- "boost": 1
- }
- },
- "aggregations": {
- "offer.price": {
- "histogram": {
- "field": "offer.price",
- "interval": 1,
- "min_doc_count": 1
- }
- }
- }
- }
- }
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement