简体   繁体   English

Solr索引存储在内存或磁盘中

[英]solr indexing is stored in memory or disk

I have about 30GB in memory on server. 我的服务器上有大约30GB的内存。 However, due to large data volume, the indexing takes about 28GB. 但是,由于数据量大,索引大约需要28GB。 Is there any way to configure the solr so the indexing of data can be store in hard disk, not in memory? 有什么方法可以配置Solr,以便将数据索引存储在硬盘中,而不是内存中? Or if I can assign certain amount of data in memory while the rest in disk? 还是我可以在内存中分配一定数量的数据,而在磁盘上分配其余数据?

While indexing data, SolR is creating cache folders and file on the hard drive only. 索引数据时,SolR仅在硬盘驱动器上创建缓存文件夹和文件。

Memory is just used to: 内存仅用于:

  • index data 索引数据
  • retrieve data 检索数据
  • delete or update data 删除或更新数据

The strength of SolR is that it creates several indexes to improve data retrieval. SolR的优势在于它创建了多个索引来改善数据检索。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM