Unfortunately, if you mistakenly go to the wrong endpoint, i can happen indeed :(
On Mon, Dec 1, 2014 at 12:13 PM, Anil Karaka <[email protected]> wrote: > Oh, things like that happen? > > Thanks. > > On Monday, December 1, 2014 3:14:27 PM UTC+5:30, Adrien Grand wrote: >> >> "aggs" makes no sense in the context of index settings, it looks to me >> like someone mistakenly submitted a search request with aggregations to the >> update settings endpoint instead of the search endpoint. >> >> On Mon, Dec 1, 2014 at 8:08 AM, Anil Karaka <[email protected]> wrote: >> >>> { >>> >>> - test_index: >>> { >>> - settings: >>> { >>> - index: >>> { >>> - creation_date: "1416836998944", >>> - warmer: >>> { >>> - enabled: "false" >>> }, >>> - uuid: "R2eL4uvvQbGtLKAaDPrmaQ", >>> - number_of_replicas: "1", >>> - aggs: >>> { >>> - group_by_age: >>> { >>> - aggs: >>> { >>> - group_by_gender: >>> { >>> - aggs: >>> { >>> - average_balance: >>> { >>> - avg: >>> { >>> - field: "balance" >>> } >>> } >>> }, >>> - terms: >>> { >>> - field: "gender", >>> - order: >>> { >>> - average_balance: "desc" >>> } >>> } >>> } >>> }, >>> - range: >>> { >>> - field: "age", >>> - ranges: >>> [ >>> - >>> { >>> - to: "29", >>> - from: "20" >>> }, >>> - >>> { >>> - to: "39", >>> - from: "30" >>> }, >>> - >>> { >>> - to: "49", >>> - from: "40" >>> } >>> ] >>> } >>> } >>> }, >>> - number_of_shards: "5", >>> - refresh_interval: "5s", >>> - version: >>> { >>> - created: "1040099" >>> }, >>> - size: "0" >>> } >>> } >>> } >>> >>> } >>> >>> I'm a little confused by "aggs" in my index settings, what does it mean? >>> Is it related to index warmers, or index aliases..? >>> >>> Thank you. >>> >>> -- >>> 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, send >>> an email to [email protected]. >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/elasticsearch/1c5dbc63-9d1a-434f-b0b9-0311b2efa21a% >>> 40googlegroups.com >>> <https://groups.google.com/d/msgid/elasticsearch/1c5dbc63-9d1a-434f-b0b9-0311b2efa21a%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Adrien Grand >> > -- > 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, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/e7f63b61-41e5-4fd8-93f6-6f12df6499d1%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/e7f63b61-41e5-4fd8-93f6-6f12df6499d1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Adrien Grand -- 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, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j6oNqxuLseU%2BrGNgXh8PseZzd301uFe_KqSRQ-7dPDp%3DQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
