Bou*_*uki 7 solr datastax-enterprise datastax cassandra-3.0
我正在使用datastax enterprise 5.0.2,我想使用solr
我试试这个:
dsetool create_core keyspace.table generateResources = true reindex = true
但我明白了:
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Type org.apache.cassandra.db.marshal.ByteType is not supported with automatic Solr schema generation.
Specify 'lenient: true' in your resource generation options to ignore unsupported columns.
Run Code Online (Sandbox Code Playgroud)
当我尝试使用lenient时,我无法使其工作,因为我的主键有一个名为'type'的字节字段
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Schema Parsing Failed: Schema contains no indexed field for element 'type' of composite key '(lang,type)
Run Code Online (Sandbox Code Playgroud)
有任何线索如何解决这个问题?
我的表有超过100个字段,很难手动生成它
| 归档时间: |
|
| 查看次数: |
264 次 |
| 最近记录: |