异常信息
An SPI class of type org.apache.lucene.codecs.PostingsFormat with name 'Lucene50' does not exist
映射信息:
esMapping:
_index: example
pk: _id
upsert: true
sql: "select d.demo_id as _id, d.content as content
from demo as d"
commitBatch: 3000`
问题:
如果使用pk: _id, 就会抛'Lucene50' does not exist异常。 用_id: _id就正常。 是打包时SPI被覆盖了吗? 要怎么解决
2条答案
按热度按时间k7fdbhmy1#
补充个图片
ukdjmx9f2#
问题已解决,之后我提一个pull request