Package org.apache.solr.update
APIs and classes for managing index updates
-
Interface Summary Interface Description SolrCoreState.IndexWriterCloser VersionBucket.CheckedFunction<T,R> -
Class Summary Class Description AddUpdateCommand AnUpdateCommand
for adding or updating one document.CommitTracker Helper class for tracking autoCommit state.CommitUpdateCommand A commit index command encapsulated in an object.DefaultSolrCoreState DeleteUpdateCommand DirectUpdateHandler2 DirectUpdateHandler2
implements an UpdateHandler where documents are added directly to the main Lucene index as opposed to adding to a separate smaller index.DocumentBuilder Builds a LuceneDocument
from aSolrInputDocument
.IndexFingerprint LoggingInfoStream AnInfoStream
implementation which passes messages on to Solr's logging.MemOutputStream MergeIndexesCommand A merge indexes command encapsulated in an object.PeerSync This class is useful for performing peer to peer synchronization of recently indexed update commands during recovery process.PeerSync.MissedUpdatesFinder Helper class for doing comparison ourUpdates and other replicas's updates to find the updates that we missedPeerSync.MissedUpdatesRequest Result ofPeerSync.MissedUpdatesFinder
PeerSync.PeerSyncResult PeerSyncWithLeader PeerSyncWithLeader.MissedUpdatesFinder Helper class for doing comparison ourUpdates and other replicas's updates to find the updates that we missedRollbackUpdateCommand SolrCmdDistributor Used for distributing commands from a shard leader to its replicas.SolrCmdDistributor.Error SolrCmdDistributor.ForwardNode SolrCmdDistributor.Node SolrCmdDistributor.Req SolrCmdDistributor.Response SolrCmdDistributor.StdNode SolrCoreState The state in this class can be easily shared between SolrCores across SolrCore reloads.SolrIndexConfig This config object encapsulates IndexWriter config params, defined in the <indexConfig> section of solrconfig.xmlSolrIndexSplitter SolrIndexWriter An IndexWriter that is configured via Solr config mechanisms.SplitIndexCommand A split index command encapsulated in an object.StreamingSolrClients TimedVersionBucket This implementation uses lock and condition and will throw exception if it can't obtain the lock withinlockTimeoutMs
.TransactionLog Log Format: List{Operation, Version, ...} ADD, VERSION, DOC DELETE, VERSION, ID_BYTES DELETE_BY_QUERY, VERSION, StringUpdateCommand An index update command encapsulated in an object (Command pattern)UpdateHandler UpdateHandler
handles requests to change the index (adds, deletes, commits, optimizes, etc).UpdateLog This holds references to the transaction logs.UpdateLog.DBQ Holds the query and the version for a DeleteByQuery commandUpdateLog.DeleteUpdate UpdateLog.LogPtr UpdateLog.RecoveryInfo UpdateLog.Update UpdateShardHandler UpdateShardHandlerConfig VersionBucket The default implementation which uses the intrinsic object monitor.VersionInfo -
Enum Summary Enum Description SolrIndexSplitter.SplitMethod UpdateLog.State UpdateLog.SyncLevel -
Exception Summary Exception Description SolrCoreState.CoreIsClosedException