我想从Neo4j中获取记录并导入到solr搜索中,但是记录获取过程在solr中做得很好,但是solr无法在solr中创建文档。
文件:sorl-data-config.xaml
<dataSource type="JdbcDataSource" driver="org.neo4j.jdbc.Driver"
url="jdbc:neo4j:bolt://localhost:7378/pim"
user="oppp"
password="qwert" />
文件:schema.xml
<uniqueKey>IMAGEID</uniqueKey>
<fields>
<field name="IMAGEID" type="string" indexed="true" stored="true" multiValued="false" />
<field name="LABEL" type="string" indexed="true" stored="true" multiValued="false" />
<field name="PRODUCT_AWS_LINK" type="string" indexed="true" stored="true" multiValued="false" />
</fields>
这是我的错误
创建文档时出错:SolrInputDocument(fields: [PRODUCT_AWS_LINK = https://static.greatbigcanvas.com/images/singlecanvas_thick_none/bridgeman-art-library/a-mughal-amir-on-horseback-c-1670-80-from-the-large-clive-album,2309381.jpg?mw=215&mh=150,​ IMAGEID = 2309381,LABEL =马背上的莫卧儿阿米尔, c.1670-80,来自Large Clive Album, version = 1629770907871346688, root = 2309381])