【发布时间】:2014-02-03 10:07:43
【问题描述】:
我尝试为弹性搜索创建索引
curl -XPUT 'http://localhost:9200/myindex'
但我总是收到以下错误:
{"error":"IndexCreationException[[myindex] failed to create index]; nested: ElasticSearchIllegalArgumentException[[enable_position_increments: false] is not supported anymore as of Lucene 4.4 as it can create broken token streams. Please fix your analysis chain or use an older compatibility version (<=4.3) but beware that it might cause unexpected behavior.]; ","status":400}
之前创建索引模板没有问题,但是我在网上找不到任何解决索引创建问题的方法。只有我发现我必须删除停用词过滤器。但没有文档说明如何做到这一点。
有人可以帮助我吗? 谢谢。
【问题讨论】:
标签: lucene indexing elasticsearch