I am currently trying to do aggregation by my "custom_id" field over the respective "x_count" for each document. There can only be few distinct values in my "custom_id" field.
The error i get was a huge but i think this might be the relevant part.
Error:
nested: JsonParseException[Unexpected character ('}' (code 125)): was expecting either valid name character (for unquoted name) or double-quote (for quoted) to start field name\n at [Source: [B@4c8c5b8e; line: 32, column: 2]]; }]",
If i want to print more information related to "custom_id" which is unique for all documents which have that particular custom_id. Can i get that by adding some arguments in the same query. I tried
Another question, i had in mind was suppose i wanted another metric which was a division of my aggregators (in this example "spe" and lets call another aggregator "gain") . I wanted to add another metric which was division of spe/gain, how would i got about it.
I might be able to use "bucket_path" but don't have a concrete path to it.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.