Created
October 30, 2014 10:24
-
-
Save arc279/1d61f0d61b606e32b5e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* request | |
curl -XPUT 'http://localhost:9200/kuromoji_sample/' -d' | |
{ | |
"settings":{ | |
"index":{ | |
"analysis":{ | |
"analyzer" : { | |
"my_analyzer" : { | |
"tokenizer" : "kuromoji_tokenizer", | |
"filter" : ["kuromoji_baseform"] | |
} | |
} | |
} | |
} | |
} | |
} | |
' | |
* response | |
{ | |
"error": "RemoteTransportException[[Delilah][inet[/192.168.255.1:9300]][indices/create]]; nested: IndexCreationException[[kuromoji_sample] failed to create index]; nested: IllegalArgumentException[Custom Analyzer [my_analyzer] failed to find tokenizer under name [kuromoji_tokenizer]]; ", | |
"status": 400 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment