Cant check icu_tokenizer

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8d3d4059-477a-4bfc-9f8e-cddcf3b285d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Alexander,

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


2014/11/03 22:25 "Alexander Dorogikh" dorogikh.alexander@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+unsubscribe@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+unsubscribe@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.

Thanks Jun
I was inattentive

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/18dd1b99-b02e-4811-8113-0859b1b8f18a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hello, I use elastic 1.4.4 with plugin 2.4.0 but getting the same message.
Please let me know what might be the cause. Thanks

GET /_analyze?analyzer=icu_tokenizer&text=the cat

{
"error": "ElasticsearchIllegalArgumentException[failed to find analyzer
[icu_tokenizer]]",
"status": 400
}

On Monday, November 3, 2014 at 8:38:48 AM UTC-5, Jun Ohtani wrote:

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....@gmail.com
<javascript:>>:

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 elasticsearc...@googlegroups.com <javascript:>.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/96f08a95-d4d9-4dc6-a4ce-ffb7ad3aab80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sorry, elastic 1.4.4 with icu plugin 2.4.2

On Friday, April 10, 2015 at 7:00:47 AM UTC-4, Aung Maw wrote:

Hello, I use elastic 1.4.4 with plugin 2.4.0 but getting the same
message. Please let me know what might be the cause. Thanks

GET /_analyze?analyzer=icu_tokenizer&text=the cat

{
"error": "ElasticsearchIllegalArgumentException[failed to find analyzer
[icu_tokenizer]]",
"status": 400
}

On Monday, November 3, 2014 at 8:38:48 AM UTC-5, Jun Ohtani wrote:

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....@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 elasticsearc...@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5dd78fa2-29f8-4f29-a48a-078ba9735f4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

If you did not restart your nodes, do it :slight_smile:

IIRC you need to create an index which loads the analyzer.
And then run the _analyze API on it

curl -XGET 'localhost:9200/test/_analyze?text=this+is+a+test'

HTH

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 10 avr. 2015 à 13:02, Aung Maw aunghmaw@gmail.com a écrit :

Sorry, elastic 1.4.4 with icu plugin 2.4.2

On Friday, April 10, 2015 at 7:00:47 AM UTC-4, Aung Maw wrote:
Hello, I use elastic 1.4.4 with plugin 2.4.0 but getting the same message. Please let me know what might be the cause. Thanks

GET /_analyze?analyzer=icu_tokenizer&text=the cat

{
"error": "ElasticsearchIllegalArgumentException[failed to find analyzer [icu_tokenizer]]",
"status": 400
}

On Monday, November 3, 2014 at 8:38:48 AM UTC-5, Jun Ohtani wrote:
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....@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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8d3d4059-477a-4bfc-9f8e-cddcf3b285d7%40googlegroups.com.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5dd78fa2-29f8-4f29-a48a-078ba9735f4c%40googlegroups.com.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1B4EB7A6-1C38-4290-BD9A-97CE8C2D4044%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.