Re: Storing different collection on different hard disk

2016-04-21 Thread Zheng Lin Edwin Yeo
Yes, that works as well too. Thank you! Regards, Edwin On 21 April 2016 at 19:00, Bram Van Dam wrote: > On 21/04/16 03:56, Zheng Lin Edwin Yeo wrote: > > This is the working one: > > dataDir=D:/collection1/data > > Ah yes. Backslashes are escape characters in properties files. > C:\\collection1

Re: Storing different collection on different hard disk

2016-04-21 Thread Bram Van Dam
On 21/04/16 03:56, Zheng Lin Edwin Yeo wrote: > This is the working one: > dataDir=D:/collection1/data Ah yes. Backslashes are escape characters in properties files. C:\\collection1\\data would probably work as well. - bram

Re: Storing different collection on different hard disk

2016-04-20 Thread Zheng Lin Edwin Yeo
Thanks for your reply. I have managed to solve the problem. The reason is that we have to use this "/" instead of this "\", even in Windows, and to include the data folder as well. This is the working one: dataDir=D:/collection1/data Regards, Edwin On 20 April 2016 at 21:39, Bram Van Dam wrot

Re: Storing different collection on different hard disk

2016-04-20 Thread Bram Van Dam
Have you considered simply mounting different disks under different paths? It looks like you're using Windows, so I'm not sure if that's possible, but it seems like a relatively basic task, so who knows. You could mount Disk 1 as /path/to/collection1 and Disk 2 as /path/to/collection2. That way yo

Re: Storing different collection on different hard disk

2016-04-19 Thread Zheng Lin Edwin Yeo
Thanks for your info. I tried to set, but Solr is not able to find the indexes, and I get the following error: - *collection1:* org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: java.io.IOException: The filename, directory name, or volume label syntax is incorrec

Re: Storing different collection on different hard disk

2016-04-19 Thread Alexandre Rafalovitch
Have you tried setting dataDir parameter in the core.properties file? https://cwiki.apache.org/confluence/display/solr/Defining+core.properties Regards, Alex. Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 19 April 2016 at 20:43, Zheng Lin Ed