欢迎投稿

今日深度:

研究一下solr,

研究一下solr,


--------------------20080725------------------------------

apache-solr-1.2.0\example\exampledocs下面执行
java -Durl=http://localhost:8080/solr/update -jar post.jar cybertron.xml

jetty
java -Durl=http://localhost:8983/solr/update -jar post.jar cybertron.xml

完成了对于solr环境搭建
1)调整conf/schema.xml定义field,重新生成index。在tomcat服务端启动服务
2)用tomcat启动admin来管理solr
3)用php程序 solr.localhost.com来加数据和查询展示页面
http://solr.localhost.com/addPackage.php
http://solr.localhost.com/searchPackages.php
通过服务端http://localhost:8983/solr/update接口,上传xml文件,
select查询时,也是从服务端得到结果xml并进行显示

有关 Lucene(和 Solr)性能的更多信息,请参阅 参考资料 中给出的 ApacheCon Europe 的 “Advanced Lucene” 幻灯片演示。

www.htsjk.Com true http://www.htsjk.com/solr/35237.html NewsArticle 研究一下solr, --------------------20080725------------------------------ apache-solr-1.2.0\example\exampledocs下面执行 java -Durl=http://localhost:8080/solr/update -jar post.jar cybertron.xml jetty java -Durl=http://localhost:8983...
相关文章
    暂无相关文章
评论暂时关闭