Package org.apache.solr.update
APIs and classes for managing index updates
-
Interface Summary Interface Description SolrCmdDistributor.AbortCheck SolrCoreState.IndexWriterCloser VersionBucket.CheckedFunction<T,R> -
Class Summary Class Description AddUpdateCommand AnUpdateCommand
for adding or updating one document.CdcrTransactionLog ExtendsTransactionLog
to: reopen automatically the output stream if its reference count reached 0.CdcrUpdateLog An extension of theUpdateLog
for the CDCR scenario.
Compared to the original update log implementation, transaction logs are removed based on pointers instead of a fixed size limit.CdcrUpdateLog.BufferedUpdates CommitTracker Helper class for tracking autoCommit state.CommitUpdateCommand 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
.HdfsTransactionLog Log Format: List{Operation, Version, ...} ADD, VERSION, DOC DELETE, VERSION, ID_BYTES DELETE_BY_QUERY, VERSION, String TODO: keep two files, one for [operation, version, id] and the other for the actual document data.HdfsUpdateLog 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, String TODO: keep two files, one for [operation, version, id] and the other for the actual document data.UpdateCommand 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.LogPtr UpdateLog.RecoveryInfo 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