Search code examples
solrshared-directory

Index a shared folder with Solr


How can I index a shared folder (not local) with Solr ? Is it possible or should I copy my shared folder into a local folder ?


Solution

  • You can definitely run the indexer on the different server from Solr. You just need to run the post tool with the right parameters.

    So, two things:

    • You can run the post tool as a jar, not as a classpath and full name invocation
    • You can see all supported parameters by running: java -jar example\exampledocs\post.jar -h , the one you want is -Durl