Ingest-attachment how to use analysis-ik as analyzer?


(Lxiaoixi) #1

I want to search file 'attachment.content' use analysis-ik,what should I do?
"data": { //必须同管道的field 字段值相同
"type": "text",
"analyzer": "ik_max_word" //
}
Is this right?


(David Pilato) #2

Could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.


(system) closed #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.