Why the index update strategy chosen by commercial search engines is a complete reconstruction strategy

Source: Internet
Author: User

I read the "This is the search engine: the core of technical details," The book, see the text in chapter three of the following words aroused my thinking:

This kind of reconstruction strategy is better suited for small document collections because the cost of fully rebuilding the index is high, but the current mainstream business search engine generally uses this way to maintain the update of the index, which is related to the characteristics of the internet itself.

There are currently four index update strategies: Full rebuild strategy and merge policy in-situ update Strategy mix Strategy

If you want to know about these 4 index update strategies, see "This is the search engine: the core of technical details," the author's blog: Search engine index Update strategy

I have compared these four strategies to find the main reason:
Although the cost of rebuilding the indexing strategy is high, the strategy is the only one that can guarantee that the index is still in effect during the rebuild, and for commercial search engines, it should be ensured that the system can function properly at any time.

The re-merge policy and the in-place update strategy are combined with the old index after the incremental index is created, and the old index is not effective during the merge, and the so-called mixed strategy only chooses to use the merge strategy and the in-situ update strategy According to the situation, and still cannot guarantee the index to be in effect

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.