user1044173
user1044173

Reputation: 33

Solr search with Mysql Database, any utility for data importing

We are looking at ways of improving "search" functionality in our large business application which currently uses SQL Like syntax to do it. So we started evaluating Solr server and were able to index few of our database tables and search. But I am newbie and wanted to know if

1) We have large number of tables in our application. Is there any utility that generates schema xml in solr using the database tables?

2) Our current search lists the database row that meets the search criteria (this was written using SQL 'like' and takes lot of time to generate the search results). We want to simulate the exact functionality using solr. Is that possible?

Upvotes: 1

Views: 269

Answers (1)

femtoRgon
femtoRgon

Reputation: 33351

For importing a database into SOLR, you might want to look into DataImportHandler.

There will be a fair amount of configuration required for it, defining what tables and columns to import, what should be stored, and how it should be indexed.

Upvotes: 1

Related Questions