Note that there are some explanatory texts on larger screens.

plurals
  1. POElastic Search Query
    primarykey
    data
    text
    <p>My query is this.My purpose is only data i want to exclude that data if country is null.</p> <pre><code>q='{ "sort": [{ "creation_time": { "order": "desc" } }], "fields": ["id", "link_extracted","country"], "from": 0, "size": 50, "query": { "filtered": { "query": { "match_all": {} }, "filter": { "and": { "filters": [ { "must_not": { "missing": { "field": "country", "existence": true, "null_value": true } } }, { "range": { "creation_time": { "from": "2013-07-24", "to": "2013-07-25", "include_lower": true, "include_upper": true } } }, { "term": { "stream_type": "facebook" } }, { "or": [{ "query": { "query_string": { "fields": ["post_message", "description", "post_name", "caption", "content", "tweet_text", "title", "positive_keyword"], "default_operator": "AND", "query": "obama" } } }, { "query": { "query_string": { "fields": ["post_message", "description", "post_name", "caption", "content", "tweet_text", "title", "positive_keyword"], "default_operator": "AND", "query": "goibibo" } } }] }], "_cache": true } } } } }' </code></pre> <p>it returns error .please some one help me</p> <pre><code>error: SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {[dE5tGteLRz61iFpbB3KBcA][monitoring2][1]: SearchParseException[[monitoring2][1]: from[0],size[50],sort[&lt;custom:"creation_time": org.elasticsearch.index.field.data.longs.LongFieldDataType$1@1faa54ab&gt;!]: Parse Failure [Failed to parse source [{"sort":[{"creation_time":{"order":"desc"}}],"fields":["id","link_extracted","country"],"from":0,"size":50,"query":{"filtered":{"query":{"match_all":{}},"filter":{"and":{"filters":[{"must_not":{"missing":{"field":"country","existence":true,"null_value":true}}},{"range":{"creation_time":{"from":"2013-07-24","to":"2013-07-25","include_lower":true,"include_upper":true}}},{"term":{"stream_type":"facebook"}},{"or":[{"query":{"query_string":{"fields":["post_message","description","post_name","caption","content","tweet_text","title","positive_keyword"],"default_operator":"AND","query":"obama"}}},{"query":{"query_string":{"fields":["post_message","description","post_name","caption","content","tweet_text","title","positive_keyword"],"default_operator":"AND","query":"goibibo"}}}]}],"_cache":true}}}}}]]]; nested: QueryParsingException[[monitoring2] No filter registered for [must_not]]; }{[dE5tGteLRz61iFpbB3KBcA][monitoring2][4]: SearchParseException[[monitoring2][4]: from[0],size[50],sort[&lt;custom:"creation_time": org.elasticsearch.index.field.data.longs.LongFieldDataType$1@5756e049&gt;!]: Parse Failure [Failed to parse source [{"sort":[{"creation_time":{"order":"desc"}}],"fields":["id","link_extracted","country"],"from":0,"size":50,"query":{"filtered":{"query":{"match_all":{}},"filter":{"and":{"filters":[{"must_not":{"missing":{"field":"country","existence":true,"null_value":true}}},{"range":{"creation_time":{"from":"2013-07-24","to":"2013-07-25","include_lower":true,"include_upper":true}}},{"term":{"stream_type":"facebook"}},{"or":[{"query":{"query_string":{"fields":["post_message","description","post_name","caption","content","tweet_text","title","positive_keyword"],"default_operator":"AND","query":"obama"}}},{"query":{"query_string":{"fields":["post_message","description","post_name","caption","content","tweet_text","title","positive_keyword"],"default_operator":"AND","query":"goibibo"}}}]}],"_cache":true}}}}}]]]; nested: QueryParsingException[[monitoring2] No filter registered for [must_not]]; }{[dE5tGteLRz61iFpbB3KBcA][monitoring2][3]: SearchParseException[[monitoring2][3]: from[0],size[50],sort[&lt;custom:"creation_time": org.elasticsearch.index.field.data.longs.LongFieldDataType$1@66ed8bb&gt;!]: Parse Failure [Failed to parse source [{"sort":[{"creation_time":{"order":"desc"}}],"fields":["id","link_extracted","country"],"from":0,"size":50,"query":{"filtered":{"query":{"match_all":{}},"filter":{"and":{"filters":[{"must_not":{"missing":{"field":"country","existence":true,"null_value":true}}},{"range":{"creation_time":{"from":"2013-07-24","to":"2013-07-25","include_lower":true,"include_upper":true}}},{"term":{"stream_type":"facebook"}},{"or":[{"query":{"query_string":{"fields":["post_message","description","post_name","caption","content","tweet_text","title","positive_keyword"],"default_operator":"AND","query":"obama"}}},{"query":{"query_string":{"fields":["post_message","description","post_name","caption","content","tweet_text","title","positive_keyword"],"default_operator":"AND","query":"goibibo"}}}]}],"_cache":true}}}}}]]]; nested: QueryParsingException[[monitoring2] No filter registered for [must_not]]; }{[dE5tGteLRz61iFpbB3KBcA][monitoring2][0]: SearchParseException[[monitoring2][0]: from[0],size[50],sort[&lt;custom:"creation_time": org.elasticsearch.index.field.data.longs.LongFieldDataType$1@1faa54ab&gt;!]: Parse Failure [Failed to parse source [{"sort":[{"creation_time":{"order":"desc"}}],"fields":["id","link_extracted","country"],"from":0,"size":50,"query":{"filtered":{"query":{"match_all":{}},"filter":{"and":{"filters":[{"must_not":{"missing":{"field":"country","existence":true,"null_value":true}}},{"range":{"creation_time":{"from":"2013-07-24","to":"2013-07-25","include_lower":true,"include_upper":true}}},{"term":{"stream_type":"facebook"}},{"or":[{"query":{"query_string":{"fields":["post_message","description","post_name","caption","content","tweet_text","title","positive_keyword"],"default_operator":"AND","query":"obama"}}},{"query":{"query_string":{"fields":["post_message","description","post_name","caption","content","tweet_text","title","positive_keyword"],"default_operator":"AND","query":"goibibo"}}}]}],"_cache":true}}}}}]]]; nested: QueryParsingException[[monitoring2] No filter registered for [must_not]]; }{[dE5tGteLRz61iFpbB3KBcA][monitoring2][2]: SearchParseException[[monitoring2][2]: from[0],size[50],sort[&lt;custom:"creation_time": org.elasticsearch.index.field.data.longs.LongFieldDataType$1@89f056b&gt;!]: Parse Failure [Failed to parse source [{"sort":[{"creation_time":{"order":"desc"}}],"fields":["id","link_extracted","country"],"from":0,"size":50,"query":{"filtered":{"query":{"match_all":{}},"filter":{"and":{"filters":[{"must_not":{"missing":{"field":"country","existence":true,"null_value":true}}},{"range":{"creation_time":{"from":"2013-07-24","to":"2013-07-25","include_lower":true,"include_upper":true}}},{"term":{"stream_type":"facebook"}},{"or":[{"query":{"query_string":{"fields":["post_message","description","post_name","caption","content","tweet_text","title","positive_keyword"],"default_operator":"AND","query":"obama"}}},{"query":{"query_string":{"fields":["post_message","description","post_name","caption","content","tweet_text","title","positive_keyword"],"default_operator":"AND","query":"goibibo"}}}]}],"_cache":true}}}}}]]]; nested: QueryParsingException[[monitoring2] No filter registered for [must_not]]; }] status: 500 } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload