<br><b>Code</b>: rsb:print<br><b>Error</b>: Formatter [ rootadoname ] failed in the evaluation of <p> Apache Solr <a href="https://lucene.apache.org/solr/">https://lucene.apache.org/solr/</a>? Apache ?????????Lucene ???????????????????????????????????????????? </p> <p> API·????????????????????????????(Data Import Handler)???????????????????????????????????????????????????? Apache Solr ?XML·CSV·JSON ???????????PDF?Word?HTML ????????????JDBC ????RDB ???????????????????????Apache Solr ?JDBC ??????????CData JDBC Drivers ?????????API ???????? DataImport ??????Apache Solr ??????[service] ?????????????????????? ??? Apache Solr ????????????????Data Import Handler ?????[service] ?????????Apache Solr ?????????????????????????? <img src="../articles/jdbc-apache-solr-1.png" title="[service] ????Solr ??????"/> </p> <h2>Apache Solr ??[service] ??????????????</h2> <ul> <li>Apache Solr ????????????????????????????????????</li> <li>?????????????????????</li> <code>> solr create -c CDataCore</code> <li>???URL?????Core??????????<a href="http://localhost:8983/solr/#/CDataCore/core-overview">http://localhost:8983/solr/#/CDataCore/core-overview</a></li> <li>????????????????????????????[service] ??????????????????????????????LastModifiedDate ?[service] ????????????????????????????????????deltaQuery ???????????????</li> <pre> <code> <field name="[rootadoname]Column1" type="pdate" uninvertible="true" indexed="true" stored="true"></field> <field name="[rootadoname]Column2" type="string" uninvertible="true" indexed="true" stored="true"></field> <field name="[rootadoname]Column3" type="string" uninvertible="true" indexed="true" stored="true"></field> <field name="[rootadoname]Column4" type="pdate" uninvertible="true" indexed="true" stored="true"></field> <field name="[rootadoname]Column5" type="string" uninvertible="true" indexed="true" stored="true"></field> <field name="[rootadoname]Column6" type="string" uninvertible="true" indexed="true" stored="true"></field> <field name="[rootadoname]Column7" type="string" uninvertible="true" indexed="true" stored="true"></field> <field name="LastModifiedDate" type="pdate" uninvertible="true" indexed="true" stored="true"></field> </code> </pre> <img src="../articles/jdbc-apache-solr-2.png" title="Solr ?[service] ???????????"/> <li>CData [service] JDBC Driver ????????????????????????????????JDBC Driver ??????jar ????(cdata.[rootadoname|tolower].jar????cdata.jdbc.[rootadoname|tolower].lic????????.lic ???????)???????????Apache Solr ????????????<br> <ul> <li>CData JDBC: C:\Program Files\CData\CData JDBC Driver for [rootadoname] 2019J\lib</li> <li>Apache Solr: solr-8.5.2\server\lib</li> </ul> </li> </ul> <p>??????????????????????</p> <h2>Apache Solr ? Data Import Handler (DIH) ?[service] ???????????</h2> <p>?????????????????DIH(DataImport Handler)????????????</p> <ul> <li>??????Core ?????Config ?????????? DIH ??????jar ????????????DIH ?RequestHandler ????????? DIH ?????????solr-data-config.xml???????</li> <pre> <code> <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar" /> <requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"> <lst name="defaults"> <str name="config">solr-data-config.xml</str> </lst> </requestHandler> </code> </pre> <li>?????????solr-data-config.xml???????? ???[service] ?????????????????????????????????? Driver ?Class ?????URL?????????????????</li> <pre> <code> <dataConfig> <dataSource driver="cdata.jdbc.[rootadoname|tolower].[rootadoname]Drive" url="jdbc:[rootadoname|tolower]:[extraconnectionprops|def('')]. The error was: The value of the attribute could not be accessed: The attribute does not exist.<br><b>URL</b>: /jp/kb/tech/sqlite-jdbc-apache-solr.rst