Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6046431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:14:22+00:00 2026-05-23T07:14:22+00:00

Our development team is currently looking into migrating our search system to Apache Solr,

  • 0

Our development team is currently looking into migrating our search system to Apache Solr, and we would greatly appreciate some advice on setup. We are indexing approximately two hundred million database rows. We add about a hundred thousand new rows throughout the day. These new database rows must be searchable within two minutes of their receipt.

We don’t want the indexing to bog down the searcher, so our thought is to have two Solr servers running on different machines in a replication setup. The first Solr instance will be the indexer. It will use the DataImportHandler to index the delta and have autocommit enabled to prevent overzealous commit rates. Index optimization will take place during scheduled periods. The second Solr instance (the slave) will be the primary searcher and will have its indexes stored on RAIDed solid state drives.

What we are concerned about is failover. Our searches are mission-critical. If the primary searcher goes down for whatever reason, our search service will automatically shunt queries over to the indexer node instead. Indexing is equally critical, though. If the indexer dies, we need to have a warm failover standing by. Is there a recommended way to automate master node failover in Solr replication? I’ve begun looking into ZooKeeper, but I wasn’t sure if this was the best approach.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:14:22+00:00Added an answer on May 23, 2026 at 7:14 am

    As you’ve identified search failover can be handled using replication.

    Master failover is a little bit more tricky. One idea to something like the following logical setup

    +--------+       +--------+
    |  Slave |  ...  |  Slave |
    +--------+       +--------+
         |               |
         v (replicate)   v
    +---------------------------+
    |     Load balancer         |
    +---------------------------+
             /         \
            v           v
    +--------+       +--------+
    | Master | --->  | Master |
    +--------+       +--------+
    
    • To keep Master indices up to date repeater mode can be used where a hot-backup master can replicate from the primary master
    • Either
      • Use something like the Ping handler on the primary master as a keep-alive notification. If it cannot be reached, write a small programmatic component which triggers the data import-handler of the secondary master to take over.
      • Keep the data import handlers active on all master servers, allowing any of them to take over operation without additional configuration.

    Note that you might need to configure the load balancer such that a slave can only replicate from one master at any point in time.

    On a side note, it would be interesting to hear some of your experiences indexing such a huge data set.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our development team has 14 small applications deployed to Tomcat 5.5 currently (moving to
We currently have .Net developers and the company is wanting our development team to
Our development team work with Borland C++ Builder 6 and CodeGear C++ Builder 2007
Our team is experienced in web development (tomcat/Oracle) but not with AJAX on our
Our company is currently using a simple trunk/release/hotfixes branching model and would like advice
Recently, our development team was approached by a representative from one of the departments
My current team has standardized on NetBeans for all of our Java development, and
I am currently trying to setup our complete development process (from dev to production).
My development team is using ASP.NET 3.5 / 4.0 right now, and our sites
Our development uses lots of open-source code and I'm trying to figure out what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.