Ivan
(Ivan Brusic)
May 15, 2012, 11:03pm
1
The syntax seems simple, but I must be missing some punctuation at
some point. I am unable to create a custom analyzer with a filter.
Here is a gist with the relevant snippet of the mapping:
https://gist.github.com/2705752
If I leave filter empty ( "filter": [] ), then everything works. If I
put in any value, the config file will not be read. Only warning is
[2012-05-15 16:00:37,718][WARN ][cluster.metadata ] [Janus]
[products-c] failed to read template
[\elasticsearch-0.19.2\config\templates\product_template.json] from
config
The eventual configuration is much more detailed, but it seems to be
failing with the filter section.
Cheers,
Ivan
kimchy
(Shay Banon)
May 16, 2012, 9:36pm
2
It seems to be an issue with properly loading nested settings in a template
when loaded from a config path, opened an issue:
Index Templates settings provided in a config file fails to load properly · Issue #1960 · elastic/elasticsearch · GitHub , will be fixed
shortly.
On Wed, May 16, 2012 at 2:03 AM, Ivan Brusic ivan@brusic.com wrote:
The syntax seems simple, but I must be missing some punctuation at
some point. I am unable to create a custom analyzer with a filter.
Here is a gist with the relevant snippet of the mapping:
https://gist.github.com/2705752
If I leave filter empty ( "filter": ), then everything works. If I
put in any value, the config file will not be read. Only warning is
[2012-05-15 16:00:37,718][WARN ][cluster.metadata ] [Janus]
[products-c] failed to read template
[\elasticsearch-0.19.2\config\templates\product_template.json] from
config
The eventual configuration is much more detailed, but it seems to be
failing with the filter section.
Cheers,
Ivan
Ivan
(Ivan Brusic)
May 16, 2012, 10:58pm
3
Thanks. It is good to know that I am not going crazy and it is a bug instead.
--
Ivan
On Wed, May 16, 2012 at 2:36 PM, Shay Banon kimchy@gmail.com wrote:
It seems to be an issue with properly loading nested settings in a template
when loaded from a config path, opened an
issue: Index Templates settings provided in a config file fails to load properly · Issue #1960 · elastic/elasticsearch · GitHub , will be
fixed shortly.
On Wed, May 16, 2012 at 2:03 AM, Ivan Brusic ivan@brusic.com wrote:
The syntax seems simple, but I must be missing some punctuation at
some point. I am unable to create a custom analyzer with a filter.
Here is a gist with the relevant snippet of the mapping:
https://gist.github.com/2705752
If I leave filter empty ( "filter": ), then everything works. If I
put in any value, the config file will not be read. Only warning is
[2012-05-15 16:00:37,718][WARN ][cluster.metadata ] [Janus]
[products-c] failed to read template
[\elasticsearch-0.19.2\config\templates\product_template.json] from
config
The eventual configuration is much more detailed, but it seems to be
failing with the filter section.
Cheers,
Ivan