Ich bin neu in Cassandra. Ich versuche, Solr mit DSE für die Suchfunktion zu verwenden. Ich versuche, Solr-Core auf meinem Tisch zu erstellen, für den ich unter Befehl verwende.So konfigurieren Sie die Solr-Konfiguration mit DSE
dsetool create_core tradebees_dev.yf_product_books generateResources=true
Aber ich bin unten Fehlermeldung bekommen:
You requested the core to be created with reindex=false. Preexisting data will not be searchable via DSE Search until you reindex.
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Type org.apache.cassandra.db.marshal.SimpleDateType is not supported with automatic Solr schema generation. Specify 'lenient: true' in your resource generation options to ignore unsupported columns.
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:665)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:303)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:294)
at com.datastax.bdp.tools.SearchDseToolCommands.createOrReloadCore(SearchDseToolCommands.java:1117)
at com.datastax.bdp.tools.SearchDseToolCommands.access$300(SearchDseToolCommands.java:88)
at com.datastax.bdp.tools.SearchDseToolCommands$CreateCore.execute(SearchDseToolCommands.java:390)
at com.datastax.bdp.tools.DseTool.run(DseTool.java:274)
at com.datastax.bdp.tools.DseTool.run(DseTool.java:203)
at com.datastax.bdp.tools.DseTool.main(DseTool.java:309)
Danach war ich so viel Option versucht, aber nicht in der Lage Kern zu schaffen.
Welche DSE-Version verwenden Sie und welcher CQL-Typ ist dieses Feld? Wenn Sie die Tabellendefinition tradebees_dev.yf_product_books einfügen könnten, wäre das eine gute Information. – Bereng
@Bereng DSE Version: - 5.0.1 OpsCenter: - 6.0.1 Tabellendefinition :: - TABLE tradebees_dev.yf_product_books CREATE ( id UUID PRIMARY KEY, abstrakter Text, Autor Text, category_code Text, cid_code Text, clickcount int, combo_book_id int, created_at Zeitstempel, currency_code Text, Dimensionen Text, edition text, Editor Text, freight_id int, generaleditor Text, –
Illustrator Text, imagepath Text, inquirycount int, is_copyright Text, is_orderallowed Text, is_presale Text, is_showlink Text, is_showquantity Text, ISBN Text, language_code Text, longtitle Text, market_code Text, marketinglink Text, marketplace_code Text, medium_code Text, –