Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Solr java tutorials [closed]

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 ?

like image 914
AnujKu Avatar asked Jul 20 '12 20:07

AnujKu


1 Answers

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
like image 147
Parvin Gasimzade Avatar answered Nov 19 '22 08:11

Parvin Gasimzade