Re: Query on Id field of nested documents fails.

2014-06-28 Thread dazraf
field, the query works, so it has nothing to do with your mapping. I would > report it as a bug or use another field name. > > -- > Ivan > > > On Thu, Jun 26, 2014 at 9:29 AM, dazraf > wrote: > >> Is this related to this issue? >> https://github.com/elasticse

Re: Query on Id field of nested documents fails.

2014-06-26 Thread dazraf
Is this related to this issue? https://github.com/elasticsearch/elasticsearch/issues/3022 On Tuesday, 24 June 2014 14:43:01 UTC+1, dazraf wrote: > > Hi, > > Very grateful for any help with the following (rather urgent) issue. > Gist: https://gist.github.com/dazraf/55ebb900b3c1758

Re: Query on Id field of nested documents fails.

2014-06-26 Thread dazraf
Hi, Could anyone help please? We're kind of stuck right now - trying to get to a point that we demonstrate ES working for our use-cases to get management blessing. thanks Fuzz. On Tuesday, 24 June 2014 14:43:01 UTC+1, dazraf wrote: > > Hi, > > Very grateful for any help w

Query on Id field of nested documents fails.

2014-06-24 Thread dazraf
Hi, Very grateful for any help with the following (rather urgent) issue. Gist: https://gist.github.com/dazraf/55ebb900b3c17583bf58 The script clears the indices and sets up dynamic mapping so that all child documents are treated as nested. Then there are two queries on fields of

Re: Aggregations on nested array types

2014-04-03 Thread dazraf
stinct mappings. However, what's we need is one mapping that can do both queries (ideally one that works with Kibana). thanks Fuzz. On Thursday, 3 April 2014 16:53:02 UTC+1, dazraf wrote: > > Hi Mark, > > thanks again for helping with this. > > I'm wondering why,

Re: Aggregations on nested array types

2014-04-03 Thread dazraf
7;s required is one mapping a flexible way to do both (ideally with full Kibana support). thanks Fuzz. On Thursday, 3 April 2014 16:53:02 UTC+1, dazraf wrote: > > Hi Mark, > > thanks again for helping with this. > > I'm wondering why, in the solution, the mapping doesn

Re: Aggregations on nested array types

2014-04-03 Thread dazraf
Hi Mark, thanks again for helping with this. I'm wondering why, in the solution, the mapping doesn't include the data node in the tree. In fact when I explicitly state the data node as a property of contestant, the aggregations come back blank.Gist: https://gist.github.com/dazr

Re: Aggregations on nested array types

2014-04-02 Thread dazraf
l 2, 2014 5:13:22 PM UTC+1, dazraf wrote: >> >> Hi, >> I've also experimented with nested types using dynamic templates. >> Interesting (empty!) aggregation results! >> Gist: https://gist.github.com/dazraf/9937198 >> >> Would be grateful if anyone c

Re: Aggregations on nested array types

2014-04-02 Thread dazraf
Hi, I've also experimented with nested types using dynamic templates. Interesting (empty!) aggregation results! Gist: https://gist.github.com/dazraf/9937198 Would be grateful if anyone can shed some light on this please? Thank you. On Wednesday, 2 April 2014 16:05:00 UTC+1, dazraf

Aggregations on nested array types

2014-04-02 Thread dazraf
Hi, Gist: https://gist.github.com/dazraf/9935814 Basically, I'd like to be able to aggregate a field of an array of observations, grouped by an ancestor/parent id. So for example (see gist): Aggregate the timings per contestant across a set of contests. I realise that the data c