简体   繁体   English

SOLR入门,几乎没有帮助

[英]SOLR getting started, little help

I have managed to install SOLR and run the admin interface... 我已经成功安装了SOLR并运行了管理界面...

I have no clue on how to add indexes to SOLR... 我不知道如何向SOLR添加索引...

I have a virtual server (wampserver) and in the SOLR tutorial they are referring to a TERMINAL all the time... I guess they mean the LINUX terminal or something, but how should I do the same thing in windows OS? 我有一个虚拟服务器(wampserver),在SOLR教程中,它们一直都在指代终端...我想它们的意思是LINUX终端之类的东西,但是在Windows OS中我应该怎么做?

For instance, I can add xml files to the post.jar file to POST indexes to SOLR, but how do I do this? 例如,我可以将XML文件添加到post.jar文件中,以将POST索引添加到SOLR,但是我该怎么做?

ALSO, how do I go about if I want to add indexes to SOLR from MYSQL ? 另外,如果我想从MYSQL向SOLR添加索引怎么办?

Thanks 谢谢

Please read the tutorial carefully, it shows exactly how to run post.jar to add documents: 请仔细阅读该教程 ,它确切显示了如何运行post.jar来添加文档:

user:~/solr/example/exampledocs$ java -jar post.jar solr.xml monitor.xml

The equivalent of the Linux terminal on Windows is the command prompt . Windows上的Linux终端等效于命令提示符

To import data from a RDBMS take a look at the DataImportHandler . 要从RDBMS导入数据,请看一下DataImportHandler

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM