尝试使用弹性搜索创建商店。面对问题

时间:2019-07-19 06:00:29

标签: elasticsearch siddhi wso2sp

我能够创建索引和映射,但是当尝试插入文档时出现以下错误

错误{org.wso2.extension.siddhi.store.elasticsearch.ElasticsearchEventTable} - Failed to execute bulk ElasticsearchStatusException[Elasticsearch exception [type=action_request_validation_exception, reason=Validation Failed: 1: type is missing;]]

这是我的商店查询

@Store(type="elasticsearch", host="localhost:9200", index.name="dummyindex", index.type="_doc", field.length="symbol:100", bulk.actions="5000", bulk.size="1", concurrent.requests="2", flush.interval="1", backoff.policy.retry.no="3", backoff.policy.wait.time="1")
    define table SweetProductionTable (symbol string, price float, volume long);

0 个答案:

没有答案