Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "query": {
- "constant_score":{
- "filter":{
- "bool": {
- "must": [
- {"term": {"ad_type": "sell"} },
- {"term": {"category_slug": "syire"} },
- {
- "nested": {
- "path": "classification",
- "query": {
- "bool": {
- "must": [
- {"bool":{
- "should":[
- {"bool":{
- "must":[
- {"term":{"classification.category_id":6}},
- {"term":{"classification.filters_slugs":"granula"}}
- ]
- }
- }
- ]
- }
- },
- {"bool":{
- "should":[
- {
- "bool":{
- "must":[
- {"term":{"classification.category_id":7 }},
- {"term":{"classification.filters_slugs":"chernyij" }}
- ]
- }
- },
- {
- "bool":{
- "must":[
- {"term":{"classification.category_id":7}},
- {"term":{"classification.filters_slugs": "belyij"}}
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- }
- }
- ]
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment