[aggregations] Is it possible to calculate fields based on multiple aggregations?

2014-06-25 Thread Mario Mueller
Given is a query: https://gist.github.com/xenji/a99342d3cfc5864ad6e4 The data: Tracking data from a website. Browser and Browser Version are available on the first level of the document as string values. The goal: * Get a term agg. over all browsers and nested over their versions (DONE) * Get

Re: elasticsearch 1.2.1 plugin

2014-06-25 Thread Mario Mueller
Can you explain in more detail what you want to write? This greatly enhances your chance to get a valuable answer ;) Am Dienstag, 24. Juni 2014 21:05:38 UTC+2 schrieb sri: Hello, I need to write a plugin for elasticsearch 1.2.1 but i was not able to fine proper documentation or reference

Re: A plugin to change the result set before sending it back to the http client

2014-06-06 Thread Mario Mueller
Donnerstag, 5. Juni 2014 19:45:33 UTC+2 schrieb Mario Mueller: Hey folks, I kindly ask for a hint to achieve the following thing: The goal is to deliver only a json array of source objects to the client. The php app that sits on the other side uses JMS\Serializer to deserialize the response

A plugin to change the result set before sending it back to the http client

2014-06-05 Thread Mario Mueller
Hey folks, I kindly ask for a hint to achieve the following thing: The goal is to deliver only a json array of source objects to the client. The php app that sits on the other side uses JMS\Serializer to deserialize the response into entities. At the moment the app needs to take an overhead

Re: A plugin to change the result set before sending it back to the http client

2014-06-05 Thread Mario Mueller
of returning the results directly, you can modify them before. Cheers Ivan On Thu, Jun 5, 2014 at 10:45 AM, Mario Mueller ma...@xenji.com javascript: wrote: Hey folks, I kindly ask for a hint to achieve the following thing: The goal is to deliver only a json array of source objects

Re: A plugin to change the result set before sending it back to the http client

2014-06-05 Thread Mario Mueller
and parameters for shaping such a JSON result, maybe they can already help? Or can you give an example of the problem? Jörg On Thu, Jun 5, 2014 at 7:45 PM, Mario Mueller ma...@xenji.com javascript: wrote: Hey folks, I kindly ask for a hint to achieve the following thing: The goal

Replacing the GetResult / SearchResult impl. via DI?

2014-04-24 Thread Mario Mueller
Hey folks, I'm using the Java client on an embedded running server (on a Wildfly 8, standalone-full). To make my life easier for my usecase, I want to implement a Result that is capable of using my gson provider (CDI) together with a classname to get me the source not only as string, but as my