Hi Alexander,

You should use the plugin version 2.3.0 instead of 2.4.0, if yo use
elasticsearch 1.3.x.

https://github.com/elasticsearch/elasticsearch-analysis-icu
2014/11/03 22:25 "Alexander Dorogikh" <dorogikh.alexan...@gmail.com>:

> Salutations
>
> here is examples
>
> http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/icu-tokenizer.html
>
> $ curl -XGET http://127.0.0.1:9200
> {
>   "status" : 200,
>   "name" : "Victor Creed",
>   "version" : {
>     "number" : "1.3.4",
>     "build_hash" : "a70f3ccb52200f8f2c87e9c370c6597448eb3e45",
>     "build_timestamp" : "2014-09-30T09:07:17Z",
>     "build_snapshot" : false,
>     "lucene_version" : "4.9"
>   },
>   "tagline" : "You Know, for Search"
> }
>
>
>
> $bin/plugin -install elasticsearch/elasticsearch-analysis-icu/2.4.0
>
>
>
> [alex@localhost ~]$ /usr/share/elasticsearch/bin/plugin -l
> Installed plugins:
>     - langdetect
>     - analysis-morphology
>     - analysis-icu
>
> and test
>
> $ curl -XGET '
> http://127.0.0.1:9200/_analyze?tokenizer=icu_tokenizer&pretty=true' -d
> 'สวัสดี ผมมาจากกรุงเทพฯ'
> {
>   "error" : "ElasticsearchIllegalArgumentException[failed to find global
> tokenizer under [icu_tokenizer]]",
>   "status" : 400
> }
>
> Please help, What I am doing wrong ?
>
> thanks
>
> --
> 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 elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/8d3d4059-477a-4bfc-9f8e-cddcf3b285d7%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/8d3d4059-477a-4bfc-9f8e-cddcf3b285d7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAPW8A5y8RdFCDJr2JbFt%3DRQGeZPoUH17S9X5ez8xDn5%2BLJ%3DWBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to