Domanda

Recently I started with Solr and I have setup Solr on a Windows 7 machine. I can use Solr to index folders on my pc, but also to index network shares.

The problem I have is as following: I need to be able to index an entire c drive on a Windows server. When using \\[servername]\c$ in the Windows explorer address bar, I can see the content.

But using the following code will not index the c drive:

java -Dauto -Drecursive -jar post.jar \\[Servername]\c$

I do not get an error message, but the indexed files is zero. It's not even working when trying to index my local c drive.

How can I index the C drive of a Windows server that is on my network?

È stato utile?

Soluzione

Map a physical drive to the [Server]\Share and run the application on that. You can also use the popd and pushd commands in a batch file to put you in the drive you have just mapped.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top