Package org.apache.solr.update
package org.apache.solr.update
APIs and classes for managing index updates
-
ClassDescriptionAn
UpdateCommandfor adding or updating one document.Helper class for tracking autoCommit state.A commit index command encapsulated in an object.DirectUpdateHandler2implements an UpdateHandler where documents are added directly to the main Lucene index as opposed to adding to a separate smaller index.Builds a LuceneDocumentfrom aSolrInputDocument.AnInfoStreamimplementation which passes messages on to Solr's logging.A merge indexes command encapsulated in an object.This class is useful for performing peer to peer synchronization of recently indexed update commands during recovery process.Helper class for doing comparison ourUpdates and other replicas's updates to find the updates that we missedResult ofPeerSync.MissedUpdatesFinderHelper class for doing comparison ourUpdates and other replicas's updates to find the updates that we missedUsed for distributing commands from a shard leader to its replicas.The state in this class can be easily shared between SolrCores across SolrCore reloads.This config object encapsulates IndexWriter config params, defined in the <indexConfig> section of solrconfig.xmlAn IndexWriter that is configured via Solr config mechanisms.A split index command encapsulated in an object.Log Format: List{Operation, Version, ...} ADD, VERSION, DOC DELETE, VERSION, ID_BYTES DELETE_BY_QUERY, VERSION, StringOpensTransactionLog.ChannelFastInputStreamfromFileChannel.OpensOutputStreamfromFileChannel.An index update command encapsulated in an object (Command pattern)UpdateHandlerhandles requests to change the index (adds, deletes, commits, optimizes, etc).Locks associated with updates in connection with theUpdateLog.This holds references to the transaction logs.Holds the query and the version for a DeleteByQuery commandRelated to the_version_field, in connection with theUpdateLog.