Node level index templates

Hi,

Having read the guides about creating index templates over the API, I
haven't managed to find anything explaining how to configure them at
the node level. This was nicely covered for mappings, and I tried a
similar approach for index templates hoping there was perhaps a
pattern, but to no avail.

Is this something that is even possible or am I forced to create them
over the API?

Many thanks
Mattias

There isn't an option to define index templates in the "config" (nor for
that matter index settings), it can only be defined through an API. Node
level is misleading though, the configuration is used where the index ends
up being created in the cluster, which is the (elected) master node.

On Wed, Aug 31, 2011 at 1:45 PM, Mattias Nordberg <
mattias.nordberg@gmail.com> wrote:

Hi,

Having read the guides about creating index templates over the API, I
haven't managed to find anything explaining how to configure them at
the node level. This was nicely covered for mappings, and I tried a
similar approach for index templates hoping there was perhaps a
pattern, but to no avail.

Is this something that is even possible or am I forced to create them
over the API?

Many thanks
Mattias

Thanks for the quick reply.

Any plans to make this available? Having the option to configure
things in config files would make deployment processes easier,
especially templates which are kind of considered "fixed".

Regards
Mattias

On Aug 31, 12:14 pm, Shay Banon kim...@gmail.com wrote:

There isn't an option to define index templates in the "config" (nor for
that matter index settings), it can only be defined through an API. Node
level is misleading though, the configuration is used where the index ends
up being created in the cluster, which is the (elected) master node.

On Wed, Aug 31, 2011 at 1:45 PM, Mattias Nordberg <

mattias.nordb...@gmail.com> wrote:

Hi,

Having read the guides about creating index templates over the API, I
haven't managed to find anything explaining how to configure them at
the node level. This was nicely covered for mappings, and I tried a
similar approach for index templates hoping there was perhaps a
pattern, but to no avail.

Is this something that is even possible or am I forced to create them
over the API?

Many thanks
Mattias

You can open an issue for it, shouldn't be too difficult to add. But, I
personally don't view templates as fixed :slight_smile:

On Wed, Aug 31, 2011 at 2:47 PM, Mattias Nordberg <
mattias.nordberg@gmail.com> wrote:

Thanks for the quick reply.

Any plans to make this available? Having the option to configure
things in config files would make deployment processes easier,
especially templates which are kind of considered "fixed".

Regards
Mattias

On Aug 31, 12:14 pm, Shay Banon kim...@gmail.com wrote:

There isn't an option to define index templates in the "config" (nor for
that matter index settings), it can only be defined through an API. Node
level is misleading though, the configuration is used where the index
ends
up being created in the cluster, which is the (elected) master node.

On Wed, Aug 31, 2011 at 1:45 PM, Mattias Nordberg <

mattias.nordb...@gmail.com> wrote:

Hi,

Having read the guides about creating index templates over the API, I
haven't managed to find anything explaining how to configure them at
the node level. This was nicely covered for mappings, and I tried a
similar approach for index templates hoping there was perhaps a
pattern, but to no avail.

Is this something that is even possible or am I forced to create them
over the API?

Many thanks
Mattias