Query and filter improvement not available ?

2014-09-02 Thread Nicolas Delucinge
Hi all I successfully deployed KIBANA 3.1.0 and I made a first dashboard based on ELK stack to monitor log files. However I m quiet surprise since my KIBANA GUI does not look those shown in on screenshots available on the ElasticSearch web site : Query & Filter (on top of dashboard) are absolut

Re: Split child query to query and filter?

2014-08-14 Thread Adam Porat
I will answer myself: Any queried type (the parent or any one of its children), if there should be a filter on it, should be queried using a *filtered query* clause. Any filtered field should come under the filtered-query *filter *clause, and any analyzed or score-affecting field should come und

Split child query to query and filter?

2014-06-10 Thread Adam Porat
Hi, I need to perform a query + filter on child documents. For the query, I'm using TopChildren. Now I wonder what would be more efficient regarding query on *date/numeric (no score needed) fields* of this child - should I query on these fields using a HasChild filter in a bool query wit

Re: Query and Filter

2014-04-18 Thread Matt Hughes
csearch.org/blog/all-about-elasticsearch-filter-bitsets/ >> . >> >> >> [1] >> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#string >> [2] >> http://www.elasticsearch.org/guide/en/elasticsearch/reference/curre

Re: Query and Filter

2014-04-18 Thread Matt Weber
ng up the id's. Update your mapping of these fields so it is not >> analyzed [1]. Also, you should not use an "and" filter to combine term >> filters. Use a boolean filter [2] with must clauses for better >> performance. Read why at http://www.elasticsearch.org/blog/al

Re: Query and Filter

2014-04-18 Thread Matt Hughes
arch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#string > [2] > http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-bool-filter.html > > Thanks, > Matt Weber > > > > On Fri, Apr 18, 2014 at 12:52

Re: Query and Filter

2014-04-18 Thread Matt Weber
l Thanks, Matt Weber On Fri, Apr 18, 2014 at 12:52 PM, Matt Hughes wrote: > Trying to compose a query and filter combination to no avail: > > { >"from":0, >"size":200, >"query":{ > "filtered":{

Query and Filter

2014-04-18 Thread Matt Hughes
Trying to compose a query and filter combination to no avail: { "from":0, "size":200, "query":{ "filtered":{ "query":{ "query_string":{ "fields":[