How can I do indexing XML files stored on other server in solr4

前端 未结 3 1980
清酒与你
清酒与你 2021-01-20 21:11

I have all my XML files stored on to the other server and I have installed and configure the SOLR on different server. How can I index those XML files into the SOLR. I have

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-20 22:14

    Why not mount the drive from your Solr server, and do something like:

    java -jar post.jar "Z:\home\data\delivery\textarticles.xml"

    post.jar is in the exampledocs folder. You might also use it as an example application and build your own application to post those xml files from the other server

提交回复
热议问题