You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by John Milton <jo...@gmail.com> on 2018/11/15 17:22:52 UTC

How to use multiple data drives?

Hi Solr Team,

I have installed Solr in Windows OS, on my C drive.

And I make the D drive as the data directory.

If D drive physical memory is almost full, can I use the other drives to
store data?

I mean, If the current data directory is getting full, I need to use the
multiple drives as a data directory.

Is it possible to do with Solr cloud?


Thanks,
John Milton

Re: How to use multiple data drives?

Posted by Jan Høydahl <ja...@cominvent.com>.
You can create a new collection that you explicitly place on drive E and split your data in that way.
Otherwise we normally advise to buy bigger drives or to use an OS tool to create a logical drive spanning several physical ones so that Solr sees it as one.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com/>

> 15. nov. 2018 kl. 18:22 skrev John Milton <johnmilton.j85@gmail.com <ma...@gmail.com>>:
> 
> Hi Solr Team,
> 
> I have installed Solr in Windows OS, on my C drive.
> 
> And I make the D drive as the data directory.
> 
> If D drive physical memory is almost full, can I use the other drives to
> store data?
> 
> I mean, If the current data directory is getting full, I need to use the
> multiple drives as a data directory.
> 
> Is it possible to do with Solr cloud?
> 
> 
> Thanks,
> John Milton


Re: How to use multiple data drives?

Posted by Alexandre Rafalovitch <ar...@gmail.com>.
You can configure where your data directory is in core.properties:
https://lucene.apache.org/solr/guide/7_5/defining-core-properties.html#defining-core-properties-files

Or probably via API.

Regards,
   Alex.
On Thu, 15 Nov 2018 at 12:45, John Milton <jo...@gmail.com> wrote:
>
> Hi Solr Team,
>
> I have installed Solr in Windows OS, on my C drive.
>
> And I make the D drive as the data directory.
>
> If D drive physical memory is almost full, can I use the other drives to
> store data?
>
> I mean, If the current data directory is getting full, I need to use the
> multiple drives as a data directory.
>
> Is it possible to do with Solr cloud?
>
>
> Thanks,
> John Milton