# Package org.apache.solr.common

package org.apache.solr.common
Common classes reused on both clients & server for dealing with `documents to be indexed` and `result documents`.

Related Packages
Package
Description
org.apache.solr.common.annotation
Annotations mapping to Jackson
org.apache.solr.common.cloud
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
org.apache.solr.common.luke
Common constants used by the `LukeRequestHandler`.
org.apache.solr.common.params
Parameter constants and enumerations.
org.apache.solr.common.util
Common utility classes reused on both clients & server.
Class
Description
AlreadyClosedException
Callable<T>
ConditionalKeyMapWriter
ConditionalKeyMapWriter.EntryWriterWrapper
ConditionalMapWriter
ConditionalMapWriter.EntryWriterWrapper
ConfigNode
A generic interface that represents a config file, mostly XML Please note that this is an immutable, read-only object.
ConfigNode.Helpers
EmptyEntityResolver
This class provides several singletons of entity resolvers used by SAX and StAX in the Java API.
EnumFieldValue
Represents an Enum field value, which includes integer value (indicating the sort order) and string (displayed) value.
IteratorWriter
Interface to help do push writing to an array
IteratorWriter.ItemWriter
LinkedHashMapWriter<V>
MapSerializable
Deprecated.
Use `MapWriter` instead
MapWriter
Use this class to push all entries of a Map into an output.
MapWriter.EntryWriter
An interface to push one entry at a time to the output.
MapWriterMap
Deprecated.
NavigableObject
This class contains helper methods for navigating deeply nested Objects.
NonExistentCoreException
PushWriter
This is an interface to stream data out using a push API
SolrCloseable
A `Closeable` that also allows checking whether it's been closed.
SolrCloseableLatch
This class mimics the operation of `CountDownLatch`, but it also periodically checks the state of the provided `SolrCloseable` and terminates the wait if it's closed by throwing an `InterruptedException`.
SolrDocument
A concrete representation of a document within a Solr index.
SolrDocumentBase<T,K>
SolrDocumentList
Represent a list of SolrDocuments returned from a search.
SolrErrorWrappingException
Subclass of SolrException that allows us to wrap arbitrary error objects, and pass them in the errorMessage while preserving the error object structure when returning a response to the user.
SolrException
SolrException.ErrorCode
This list of valid HTTP Status error codes that Solr may return when there is a "Server Side" error.
SolrInputDocument
Represent the field-value information needed to construct and index a Lucene Document.
SolrInputField
SpecProvider
A generic interface for any class that is capable of providing its specification as a json schema
ToleratedUpdateError
Models the basic information related to a single "tolerated" error that occurred during updates.
ToleratedUpdateError.CmdType
Helper class for dealing with SolrException metadata (String) keys