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

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.

主站蜘蛛池模板: 武夷山市| 布尔津县| 正镶白旗| 扎赉特旗| 绥宁县| 泽州县| 巫溪县| 弥渡县| 阜平县| 伊金霍洛旗| 奉新县| 彭州市| 治县。| 深圳市| 南陵县| 江源县| 大庆市| 无极县| 禄丰县| 长乐市| 朔州市| 广安市| 肥东县| 出国| 汉川市| 辽阳县| 阿克陶县| 冷水江市| 城市| 日土县| 宿松县| 广州市| 麻栗坡县| 磐石市| 札达县| 英吉沙县| 河间市| 宝清县| 庆云县| 邵东县| 邓州市|