Announcement

Collapse
No announcement yet.

Rebuild search index

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rebuild search index

    How does the rebuild index process work?

    Is there a way to rebuild a search index without maxing out db query limits (for me its 300,000).

    The problem im running into is i get a server timeout before the rebuild is completed, and im sure it doesnt start from where it left off.
    Organizations must hire quality people — "If you hire stupid people, they are not going to get better over time," ~ Gordon Graham.

    vB Mods That Rock!

  • #2
    Rebuilding the search is database intensive. There is no way to reduce the number of queries except by offloading it to SphinxSearch. The command line rebuild script, searchindex.php, is more resource friendly than the AdminCP version.

    When you run the search and do not empty it, it should notice if something is indexed and skip to the next item. It may take a while to find nodes that aren't indexed but it doesn't undo the work already done. To restart from the beginning, you can tell it to empty the search index when you run it. In the AdminCP you can also tell it to start at a specific number. So you can reindex the newest nodes first if you want to do that.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      Can you do it individually by content type as well?
      Organizations must hire quality people — "If you hire stupid people, they are not going to get better over time," ~ Gordon Graham.

      vB Mods That Rock!

      Comment


      • #4
        Within the AdminCP, there is an option to reindex specific content types.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment


        • #5
          Perfect, thank you!

          What is the rationale of the time at the bottom of that module? What does it actually represent?
          Organizations must hire quality people — "If you hire stupid people, they are not going to get better over time," ~ Gordon Graham.

          vB Mods That Rock!

          Comment


          • #6
            The number of seconds to process that batch.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud customization and demonstration site.
            vBulletin 5 Documentation - Updated every Friday. Report issues here.
            vBulletin 5 API - Full / Mobile
            I am not currently available for vB Messenger Chats.

            Comment


            • NumNum
              NumNum commented
              Editing a comment
              Thank you for clarifying!
          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X