安装Solr和mysql的索引 [英] Installing solr and indexing mysql

查看:215
本文介绍了安装Solr和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屋!

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