Created
August 7, 2018 13:21
-
-
Save pandanote-info/8a6ea76dc2dd4b676eeef075b79d37fc to your computer and use it in GitHub Desktop.
SevenZFileDataSourceを使用するためにsolrconfig.xmlに追記した設定例。configタグの内側に記述すること。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- configタグの内側に以下の記述を追加する。 --> | |
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-\d.*\.jar" /> | |
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-extras-\d.*\.jar" /> | |
<lib dir="${solr.install.dir:../../../..}/dist/" regex="SevenZDataImporter-\d.*\.jar" /> | |
<requestHandler name="/dataimport" startup="lazy" class="org.apache.solr.handler.dataimport.DataImportHandler"> | |
<lst name="defaults"> | |
<str name="config">dih-config.xml</str> | |
</lst> | |
</requestHandler> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment