Hi All,
I need help how to specify analyzer in the search query (curl).
{
"from" : 0,
"size" : 1000,
"query" : {
"match" : {
"text" : {
"query" : "somejapanesetext"
"type" : "phrase",
"analyzer" : "kuromoji"
}
}
},
"explain" : true
}
How I understand which analyzer is applied for this search query. has
applied setting while creating index as below e.g
{
"index":{
"analysis":{
"tokenizer" : {
"kuromoji" : {
"type":"kuromoji_tokenizer",
"mode":"search"
}
},
"analyzer" : {
"kuromoji_analyzer" : {
"type" : "custom",
"tokenizer" : "kuromoji_tokenizer"
}
}
}
}
}'
Can some please guide to get right link or let me know what I am missing.
Thanks
Mangesh R
--
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/61a1a948-897c-4beb-ba70-ec67aa6396f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.