Re: Is java elasticsearch a joke?

2015-03-25 Thread Perryn Fowler
On Thu, Mar 26, 2015 at 6:47 AM, Sai Asuka asuka.s...@gmail.com wrote: telnet localhost:9300 should be telnet localhost 9300 -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop receiving emails from it,

Re: filtered has_child query?

2015-03-11 Thread Perryn Fowler
'apply the filter before the query' doesn't make any sense to me - what would it filter? I suspect I'm not really understanding you, can you tell me more? Why do you want to be able to do this? How would it help? anyway, from what I thing I do understand there are several ways to get the results

Re: filtered has_child query?

2015-03-10 Thread Perryn Fowler
The query as written will return a result because you are querying for *Parent* documents that 'have children' matching your has_child query. You can tell because the type in the url will be 'Foo'. Hence, the filter you have specified is not run against the children, but against the *parents*. In

Re: Why is has_parent so slow? and can anything be done?

2015-03-03 Thread Perryn Fowler
, Perryn Fowler perryn.fow...@gmail.com wrote: Further investigation shows that anything that makes use of _parent seems to result in slow queries, be it has_parent, has_child or the 'children' aggregation. I should mention that I am using 1.4.4 - is this to be expected even

Re: Why is has_parent so slow? and can anything be done?

2015-03-02 Thread Perryn Fowler
, Mar 2, 2015 at 12:23 PM, Perryn Fowler perryn.fow...@gmail.com wrote: Hello, I am writing an analytics application that makes heavy use of aggregations. My situation seems suited to parent/child. I have relatively few parents (hundreds) and a lot more children (tens of millions

Why is has_parent so slow? and can anything be done?

2015-03-01 Thread Perryn Fowler
Hello, I am writing an analytics application that makes heavy use of aggregations. My situation seems suited to parent/child. I have relatively few parents (hundreds) and a lot more children (tens of millions). The has_parent query or filter provide an elegant way to perform the sort of queries

Re: Parent child documents query

2015-01-27 Thread Perryn Fowler
You should be able to query the child type with a has_parent query which has a has_child query nested within it. No idea how it would perform though. On Sun, Jan 25, 2015 at 3:29 AM, bvnrwork budda08n...@gmail.com wrote: For example: Have three below documents , FakeDoc,Doc1Doc2 Now how to

Re: Queries vs Filters

2015-01-13 Thread Perryn Fowler
, qbox.io ( Elasticsearch service provider http://qbox.io/) On Tue, Jan 13, 2015 at 10:23 AM, Perryn Fowler perryn.fow...@gmail.com wrote: Hello, I am building an application that performs aggregations over time-series data. The prevailing advice for my situation seems to be that I should use

Queries vs Filters

2015-01-12 Thread Perryn Fowler
Hello, I am building an application that performs aggregations over time-series data. The prevailing advice for my situation seems to be that I should use filters rather than queries to provide scope for my aggregations. The reasons being 1) I have no need for scoring 2)

Aggregating using 'Dynamic Fields'

2014-12-11 Thread Perryn Fowler
Hello I have a use case that feels like a good fit for ElasticSearch except for one problem. I'm hoping someone might be able to suggest an approach for overcoming it using ElasticSearch. I have a lot of time-series data from sensors. Extremely simplified, a reading looks a bit like this {