update readme

This commit is contained in:
medcl 2012-03-28 10:51:46 +08:00
parent 3c3fecfb01
commit 6bafddf0f4

View File

@ -46,20 +46,17 @@ https://github.com/medcl/elasticsearch-analysis-ik/blob/master/config/ik/IKAnaly
Analysis Configuration (elasticsearch.yml)
-------------
<Pre>
index:
analysis:
analyzer:
mmseg:
alias: [mmseg_analyzer]
type: org.elasticsearch.index.analysis.MMsegAnalyzerProvider
</pre>
Or
<pre>
{
"index" : {
"analysis" : {
"analyzer" : {
"ik" : {
type: org.elasticsearch.index.analysis.IkAnalyzerProvider
}
}
}
}
}
index.analysis.analyzer.mmseg.type : "mmseg"
</pre>
Mapping Configuration