Giter Club home page Giter Club logo

solr-tomcat's Introduction

配置完整的Solr和Tomcat运行环境


SSM + Solr整合项目

优雅的实现电商项目中Solr的搜索功能 欢迎star


Install

git clone https://github.com/TyCoding/solr-tomcat.git

Change

If you using git clone project, you neet solr-tomcat/webapps/solr/WEB-INF/web.xml,such as:

<!-- solrhome的地址,使用自己配置的solrhome的绝对路径 -->
<env-entry>
   <env-entry-name>solr/home</env-entry-name>
   <env-entry-value>/Users/ty/Documents/solr/solrhome</env-entry-value>
   <env-entry-type>java.lang.String</env-entry-type>
</env-entry>

Using

If you finish install and change, you can run this solr project, using ./startup.sh run tomcat, open chrome, input localhost:8080/solr/index.html this address.

If you see this page, it shows that the project is running successfully:


Warning

  • 此仓库中提供的tomcat默认使用的8080端口,可能会与你正在启动的项目端口冲突,请自行修改端口。

  • 切记修改tomcat-solr/webapps/solr/WEB-INF/web.xml,将其中第44行的solrhome地址修改为自己clone的solrhome的地址,不然项目是运行不起来的。

solr-tomcat's People

Contributors

tycoding avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.