Can't get template working with mappings and analysis defined

Hi, I tried to configure the mappings and analyzers in several ways in my
template, but nothing seens to be working:

Here's my configuration:

https://gist.github.com/4039557

If it run:

curl -XGET localhost:9200/booksearch/_mapping && echo
or
curl -XGET localhost:9200/booksearch/_settings && echo

none of my custom settings are displayed.

Any ideas why?

--

Is this the correct syntax for analysis section in a template file? I tried
several way to configure analyzers, but nothing seens to work.

Em quinta-feira, 8 de novembro de 2012 13h43min12s UTC-2, Rogerio Pereira
escreveu:

Hi, I tried to configure the mappings and analyzers in several ways in my
template, but nothing seens to be working:

Here's my configuration:

https://gist.github.com/4039557

If it run:

curl -XGET localhost:9200/booksearch/_mapping && echo
or
curl -XGET localhost:9200/booksearch/_settings && echo

none of my custom settings are displayed.

Any ideas why?

--

Hello Rogerio,

The only thing I can spot is that your "analysis" section should go
under the "settings" section.

Best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

On Thu, Nov 8, 2012 at 6:21 PM, Rogerio Pereira
rogerio.araujo@gmail.com wrote:

Is this the correct syntax for analysis section in a template file? I tried
several way to configure analyzers, but nothing seens to work.

Em quinta-feira, 8 de novembro de 2012 13h43min12s UTC-2, Rogerio Pereira
escreveu:

Hi, I tried to configure the mappings and analyzers in several ways in my
template, but nothing seens to be working:

Here's my configuration:

https://gist.github.com/4039557

If it run:

curl -XGET localhost:9200/booksearch/_mapping && echo
or
curl -XGET localhost:9200/booksearch/_settings && echo

none of my custom settings are displayed.

Any ideas why?

--

--

I also tried put analysis under "settings" section, no success.

Em sexta-feira, 9 de novembro de 2012 09h26min54s UTC-2, Radu Gheorghe
escreveu:

Hello Rogerio,

The only thing I can spot is that your "analysis" section should go
under the "settings" section.

Best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

On Thu, Nov 8, 2012 at 6:21 PM, Rogerio Pereira
<rogerio...@gmail.com <javascript:>> wrote:

Is this the correct syntax for analysis section in a template file? I
tried
several way to configure analyzers, but nothing seens to work.

Em quinta-feira, 8 de novembro de 2012 13h43min12s UTC-2, Rogerio
Pereira
escreveu:

Hi, I tried to configure the mappings and analyzers in several ways in
my
template, but nothing seens to be working:

Here's my configuration:

https://gist.github.com/4039557

If it run:

curl -XGET localhost:9200/booksearch/_mapping && echo
or
curl -XGET localhost:9200/booksearch/_settings && echo

none of my custom settings are displayed.

Any ideas why?

--

--

"analysis" should be under "settings" and "author" should have "analyzer":
"multivalue_analyzer".

On Friday, November 9, 2012 3:49:40 PM UTC-5, Rogerio Pereira wrote:

I also tried put analysis under "settings" section, no success.

Em sexta-feira, 9 de novembro de 2012 09h26min54s UTC-2, Radu Gheorghe
escreveu:

Hello Rogerio,

The only thing I can spot is that your "analysis" section should go
under the "settings" section.

Best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

On Thu, Nov 8, 2012 at 6:21 PM, Rogerio Pereira
rogerio...@gmail.com wrote:

Is this the correct syntax for analysis section in a template file? I
tried
several way to configure analyzers, but nothing seens to work.

Em quinta-feira, 8 de novembro de 2012 13h43min12s UTC-2, Rogerio
Pereira
escreveu:

Hi, I tried to configure the mappings and analyzers in several ways in
my
template, but nothing seens to be working:

Here's my configuration:

https://gist.github.com/4039557

If it run:

curl -XGET localhost:9200/booksearch/_mapping && echo
or
curl -XGET localhost:9200/booksearch/_settings && echo

none of my custom settings are displayed.

Any ideas why?

--

--