but when I try to invoke curl -XGET
'localhost:9200/_analyze?analyzer=angram' -d 'this is a test' I get an ElasticSearchIllegalARgumentException[failed
to find analyzer [angram]].
is the configuration wrong? (although I'd expect ES to not start-up when
encountered an error when reading the configuration during start-up)
You cannot use a custom analyzer until it is referenced by an index. You
would need to create a mapping that uses the analyzer and then use that
index in the analyzer call. There is no need to index any documents to that
index.
but when I try to invoke curl -XGET
'localhost:9200/_analyze?analyzer=angram' -d 'this is a test' I get an ElasticSearchIllegalARgumentException[failed
to find analyzer [angram]].
is the configuration wrong? (although I'd expect ES to not start-up when
encountered an error when reading the configuration during start-up)
On Wednesday, June 5, 2013 6:24:06 PM UTC+2, Ivan Brusic wrote:
You cannot use a custom analyzer until it is referenced by an index. You
would need to create a mapping that uses the analyzer and then use that
index in the analyzer call. There is no need to index any documents to that
index.
but when I try to invoke curl -XGET
'localhost:9200/_analyze?analyzer=angram' -d 'this is a test' I get an ElasticSearchIllegalARgumentException[failed
to find analyzer [angram]].
is the configuration wrong? (although I'd expect ES to not start-up when
encountered an error when reading the configuration during start-up)
--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.
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.