简体   繁体   English

Apache Solr索引文件的大​​小,碎片和文件大小

[英]Apache Solr index file size, shards and filesizes

I have just inherited several machines running SOLR and just about figured out how it works. 我刚刚继承了几台运行SOLR的机器,并弄清楚了它是如何工作的。 Would an index > 500g be considered large and does anyone have any good links on how to manage these indexes ? > 500g的索引会被认为是大索引吗,有人对如何管理这些索引有什么好的联系吗? I also need to define some new fields in the schema.xml - is this feasible on indexes of this size ? 我还需要在schema.xml中定义一些新字段-在这种大小的索引上可行吗? Should I look at sharding ? 我应该看看分片吗?

many thanks ben 非常感谢本

Would an index > 500g be considered large 指数大于500g会被认为是大的吗

It's pretty large, yes, but that doesn't mean anything on its own. 它很大,是的,但这并不意味着任何东西。 What really matters is that it performs adequately for your needs. 真正重要的是它可以充分满足您的需求。

how to manage these indexes 如何管理这些索引

What concretely do you want to do? 您要具体做什么?

need to define some new fields in the schema.xml - is this feasible on indexes of this size ? 需要在schema.xml中定义一些新字段-在这种大小的索引上可行吗?

Yes, the procedure to add fields is the same regardless of index size. 是的,无论索引大小如何,添加字段的过程都是相同的。

Should I look at sharding 我应该看看分片吗

Probably, but it ultimately depends on whether the index performs adequately or not as it is now. 可能吧,但这最终取决于索引是否像现在这样适当地执行。 If it performs adequately without sharding, then you don't need sharding. 如果它在没有分片的情况下仍能正常工作,那么您就不需要分片。

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

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