Web / Apache Solr Interview questions
What is the difference between NRT, TLOG, and PULL replicas in SolrCloud?
SolrCloud lets you mix replica types within a shard to balance indexing cost against read availability.
| Type | Behavior | Can become leader? |
| NRT | Indexes locally and keeps a transaction log; supports soft commits for near-real-time search | Yes |
| TLOG | Keeps a transaction log but only updates its index via replication from the leader | Yes (failover only) |
| PULL | No transaction log; only replicates index segments from the leader | No |
A common pattern is a small number of NRT or TLOG replicas to absorb indexing load and provide failover, plus a larger number of PULL replicas that just serve read traffic cheaply, since they skip the overhead of maintaining a transaction log.
More Related questions...