官术网_书友最值得收藏!

Search factor

When you configure the cluster master node to specify the replication factor, you also designate a search factor. The search factor determines the number of searchable copies of data the indexing cluster maintains. The default value for a search factor is 2, meaning that the cluster maintains two searchable copies of all the data buckets. The search factor must be less than or equal to the replication factor.

The difference between a searchable and a non-searchable copy of a data bucket is that the searchable copies include both the raw data itself and the index files the indexer uses to search the data; a non-searchable copy just contains the raw data alone. Data stored as a non-searchable copy is saved in a form that makes it possible to recreate the index files later, if necessary, but the data won't be immediately searchable otherwise.

The trade-off with the search factor setting is that keeping searchable copies of data takes more disk storage than non-searchable data. The default search factor of 2 is sufficient for most situations, keeping in mind that, if a single node goes down, the cluster master works quickly to create and redistribute searchable copies elsewhere in the cluster.

In summary, the replication factor simply represents the number of copies of the raw data maintained across the indexing tier, and the search factor represents the number of copies of the index files used for searching that data that is maintained.

主站蜘蛛池模板: 西畴县| 佛山市| 长垣县| 怀化市| 舒城县| 翼城县| 景泰县| 瓮安县| 兰考县| 怀柔区| 玉林市| 河西区| 北流市| 河曲县| 象州县| 如东县| 农安县| 江川县| 汾西县| 东海县| 舞钢市| 尼木县| 元江| 孙吴县| 韶山市| 城口县| 尉犁县| 阿勒泰市| 涿州市| 江西省| 吉安县| 桑植县| 泽库县| 孝感市| 秭归县| 南郑县| 仁寿县| 琼结县| 五指山市| 新巴尔虎右旗| 隆子县|