知识库

标准化实施手册及常见错误


全文检索Solr部署

<h2>全文检索Solr部署</h2> <h3>1 安装tomcat</h3> <p>目前solr部署使用tomcat8.5.35版本,部署没有报错</p> <p>[tomcat8.5.35-solr.zip](<a href="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/ab706b59cd7fd68771e2d9469ed06ea4">http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/ab706b59cd7fd68771e2d9469ed06ea4</a> &quot;[tomcat8.5.35-solr.zip&quot;)</p> <h3>2 solr项目配置文件修改</h3> <h4>2.1 SOLR_HOME配置文件修改</h4> <h6>将SOLR_HOME文件夹放至solr项目包下</h6> <p><img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/5275435dae5a48e4c20a5947b18eac89" alt="" /></p> <h6>修改实例new_core内的solr项目包路径</h6> <p>路径:solr/SOLR_HOME/new_core/conf/solrconfig.xml</p> <p><img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/b915c63d80a1e69b4998b79864c0934a" alt="" /></p> <h6>修改数据库连接信息</h6> <p>路径:solr/SOLR_HOME/new_core/conf/data-config.xml</p> <p><img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/43b6cccaa7702433d87b5071ba918ce0" alt="" /></p> <h4>2.2 solr项目配置文件修改</h4> <h6>修改SOLR_HOME文件路径</h6> <p>路径:solr/WEB-INF/web.xml <img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/f55296124cfc9b1c1f11d429c0090945" alt="" /></p> <p>启动报错缺少数据库驱动时,可将对应的驱动放至tomcat/lib下 <img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/3cc70c18b9b5cc9360b851fb31a78d8d" alt="" /></p> <p>部署完成访问:<a href="http://IP+端口/solr/index.html#/new_core">http://IP+端口/solr/index.html#/new_core</a> <img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/b7bfa4f20eb63441ea3ae2474a43f688" alt="" /></p>

页面列表

ITEM_HTML