安装Solr和mysql的索引 [英] Installing solr and indexing mysql
问题描述
谁能帮助我使用Solr的安装和配置它到mysql table.I已经试过几乎所有的教程,我试图与码头,也越来越tomcat.Still像数据处理程序的错误没有定义,或者无法找到solr.It已经有本周,我想了一整天
Can anyone help me with Installation of solr and configuring it to mysql table.I Have tried almost all tutorials , i tried with Jetty , also tomcat.Still getting errors like Data Handler not defined or could not find solr.It's been a week , i am trying all day
推荐答案
为了让Solr的运行,(假设你已经下载Solr和它解压到某个位置),只需导航到码头
文件夹中。
In order to get solr running, (assuming that you've downloaded solr and extract it to a location), just navigate to the jetty
folder.
在应该有一个 start.jar
。
只需键入 Java的罐子start.jar
- 这应该在码头开始Solr的。就如此容易。我所有的开发目的,我用这个。我不会担心Tomcat的,除非应用程序已经准备好部署到某些服务器。
Just type in java -jar start.jar
- this should start Solr under jetty. As simple as that. For all my development purposes, I use this. I wouldn't worry about Tomcat unless the app is ready to be deployed to some server.
为了让你的SOLR实例从MySQL提取数据,您需要DataImportHandler配置。 本文档介绍很好。
In order to get your SOLR instance to pull data from mysql, you need the DataImportHandler configured. This documentation describes it well.
编辑:
一个谷歌搜索Solr的MySQL的进口导致我这里。正是你以后,我想。
A google search for "solr mysql import" lead me here. It is exactly what you're after, I suppose.
这篇关于安装Solr和mysql的索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!