使用Mysql数据库进行Solr搜索,任何用于数据导入的实用程序 [英] Solr search with Mysql Database, any utility for data importing

查看:98
本文介绍了使用Mysql数据库进行Solr搜索,任何用于数据导入的实用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在研究改善大型业务应用程序中搜索"功能的方法,该应用程序当前使用SQL Like语法来实现此功能.因此,我们开始评估Solr服务器,并能够为我们的几个数据库表建立索引并进行搜索.但是我是新手,想知道是否

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)我们的应用程序中有大量表.是否有任何实用程序可以使用数据库表在solr中生成模式xml?

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)我们当前的搜索列出了满足搜索条件的数据库行(这是使用SQL"like"编写的,并且花费大量时间来生成搜索结果).我们想使用solr模拟确切的功能.可能吗?

推荐答案

要将数据库导入SOLR,您可能需要研究 DataImportHandler .

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.

这篇关于使用Mysql数据库进行Solr搜索,任何用于数据导入的实用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆