Skip to content

New and Fresh Private + Public Proxies Lists Everyday!

Get and Download New Proxies from NewProxyLists.com

nosql – ElasticSearch – How to query a query from a dynamic field metadata?

ElasticSearch – How to query a query from a dynamic field metadata?

The metadata field is dynamic and there may be internal fields yes or no.

How can I return a query even if the "deleted" field is not defined in some of them?

Thank you for listening.

{
"request": {
"nested": {
"path": "metadata",
"request": {
"bool": {
"Should":[
                        {
                            "match":{
                                "metadata.deleted": true
                            }
                        }
                    ]
                }
}
}
"bool": {
"must": {
"term": {
"on_behalf_of": "b71457f731d8a6f"
}
}
}
}
}

{
"Fault": {
"root cause": [
            {
                "type": "parsing_exception",
                "reason": "[nested] malformed request, expected [END_OBJECT] but found [FIELD_NAME]"
"line 1,
"collar": 116
}
],
"type": "parsing_exception",
"reason": "[nested] malformed request, expected [END_OBJECT] but found [FIELD_NAME]"
"line 1,
"collar": 116
}
"status": 400
}

Author AdminPosted on July 14, 2019Tags dynamic, Elasticsearch, field, metadata, nosql, query

Post navigation

Previous Previous post: PING IN GLOBAL DIRECTORIES for $ 5
Next Next post: Are non-SegWit transactions still malleable?
New and Fresh Private + Public Proxies Lists Everyday! Proudly powered by WordPress

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123