Apache Solr java tutorials [closed]

牧云@^-^@ 提交于 2019-12-18 12:36:03

问题


I am new to Apache solr and somehow whatever google search I am doing, I am not able to understand the tutorials on solr.

I want to develop simple search using Solr and Java on MySQL. Currently I am able to run solr on tomcat. But not sure how to proceed using solr libraries.

Does anybody know tutorials that I can refer to ?


回答1:


I couldn't find any exact example that you want. Here I will try to show you a way to start.

Firstly, since you have a running solr, you should configure it to index data in Mysql. You can refer to the following tutorials/blog posts to learn how to configure Solr to index Mysql data.

  • Using Solr / Lucene for full text search with MySQL DB
  • IMPORTING A MYSQL DATABASE INTO APACHE SOLR
  • Apache Solr MySQL Sample Data Config
  • nstalling Solr Tomcat for MySql Indexing on Ubuntu

Then by using Solrj (Solr Java Driver) you can index/query data. You can find some getting started tutorials below.

  • Solj tutorial
  • Using SolrJ
  • Indexing with Solrj
  • Solrj example
  • Using Solrj – A short guide to getting started with Solrj


来源:https://stackoverflow.com/questions/11586715/apache-solr-java-tutorials

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!