Package | Description |
---|---|
org.apache.solr |
Commonly reused classes and interfaces (deprecated package, do not add new classes)
|
org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
org.apache.solr.client.solrj.beans |
Annotation based mapping of client objects to Solr documents.
|
org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
org.apache.solr.client.solrj.util |
Utilities for Solr client applications.
|
org.apache.solr.cloud |
Classes for dealing with ZooKeeper when operating in SolrCloud mode.
|
org.apache.solr.common |
Common classes reused on both clients & server for dealing with
documents to be indexed and result documents . |
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
org.apache.solr.common.util |
Common utility classes reused on both clients & server.
|
org.apache.solr.handler.component |
SearchComponent implementations for
use in SearchHandler |
org.apache.solr.handler.dataimport |
DataImportHandler and related code. |
org.apache.solr.handler.extraction |
ExtractingRequestHandler and related code. |
org.apache.solr.handler.loader |
ContentStreamLoader implementations for
use in ContentStreamHandlerBase implementations |
org.apache.solr.uima.processor |
UIMAUpdateRequestProcessorFactory and related code. |
org.apache.solr.update |
APIs and classes for managing index updates
|
org.apache.solr.update.processor |
UpdateRequestProcessorFactory APIs and implementations for use in UpdateRequestProcessorChain s |
Modifier and Type | Method and Description |
---|---|
protected SolrInputDocument |
BaseDistributedSearchTestCase.addRandFields(SolrInputDocument sdoc) |
static SolrInputDocument |
SolrTestCaseJ4.sdoc(Object... fieldsAndValues) |
Modifier and Type | Method and Description |
---|---|
static List<SolrInputDocument> |
SolrTestCaseJ4.sdocs(SolrInputDocument... docs) |
Modifier and Type | Method and Description |
---|---|
static Long |
SolrTestCaseHS.add(SolrClient client,
SolrInputDocument sdoc,
ModifiableSolrParams params)
Adds a document using the specific client, or to the local test core if null.
|
protected UpdateResponse |
BaseDistributedSearchTestCase.add(SolrClient client,
SolrParams params,
SolrInputDocument... sdocs) |
Long |
SolrTestCaseHS.Client.add(SolrInputDocument sdoc,
ModifiableSolrParams params) |
static Long |
SolrTestCaseJ4.addAndGetVersion(SolrInputDocument sdoc,
SolrParams params) |
protected void |
BaseDistributedSearchTestCase.addFields(SolrInputDocument doc,
Object... fields) |
protected SolrInputDocument |
BaseDistributedSearchTestCase.addRandFields(SolrInputDocument sdoc) |
static String |
SolrTestCaseJ4.adoc(SolrInputDocument sdoc)
Generates a simple <add><doc>...
|
SolrClient |
SolrTestCaseHS.ClientProvider.client(SolrInputDocument sdoc,
SolrParams params) |
protected UpdateResponse |
BaseDistributedSearchTestCase.indexDoc(SolrClient client,
SolrParams params,
SolrInputDocument... sdocs)
Indexes the document in both the control client and the specified client asserting
that the respones are equivilent
|
protected void |
BaseDistributedSearchTestCase.indexDoc(SolrInputDocument doc)
Indexes the document in both the control client, and a randomly selected client
|
static String |
SolrTestCaseJ4.json(SolrInputDocument doc)
Creates JSON from a SolrInputDocument.
|
static void |
SolrTestCaseJ4.json(SolrInputDocument doc,
org.noggit.CharArr out)
Appends to the
out array with JSON from the doc . |
static String |
SolrTestCaseJ4.jsonAdd(SolrInputDocument... docs)
Creates a JSON add command from a SolrInputDocument list.
|
static List<SolrInputDocument> |
SolrTestCaseJ4.sdocs(SolrInputDocument... docs) |
Modifier and Type | Method and Description |
---|---|
UpdateResponse |
SolrClient.add(SolrInputDocument doc)
Adds a single document
|
UpdateResponse |
SolrClient.add(SolrInputDocument doc,
int commitWithinMs)
Adds a single document specifying max time before it becomes committed
|
UpdateResponse |
SolrClient.add(String collection,
SolrInputDocument doc)
Adds a single document
|
UpdateResponse |
SolrClient.add(String collection,
SolrInputDocument doc,
int commitWithinMs)
Adds a single document specifying max time before it becomes committed
|
Modifier and Type | Method and Description |
---|---|
UpdateResponse |
SolrClient.add(Collection<SolrInputDocument> docs)
Adds a collection of documents
|
UpdateResponse |
SolrClient.add(Collection<SolrInputDocument> docs,
int commitWithinMs)
Adds a collection of documents, specifying max time before they become committed
|
UpdateResponse |
SolrClient.add(Iterator<SolrInputDocument> docIterator)
Adds the documents supplied by the given iterator.
|
UpdateResponse |
SolrClient.add(String collection,
Collection<SolrInputDocument> docs)
Adds a collection of documents
|
UpdateResponse |
SolrClient.add(String collection,
Collection<SolrInputDocument> docs,
int commitWithinMs)
Adds a collection of documents, specifying max time before they become committed
|
UpdateResponse |
SolrClient.add(String collection,
Iterator<SolrInputDocument> docIterator)
Adds the documents supplied by the given iterator.
|
Modifier and Type | Method and Description |
---|---|
SolrInputDocument |
DocumentObjectBinder.toSolrInputDocument(Object obj) |
Modifier and Type | Method and Description |
---|---|
Iterator<SolrInputDocument> |
UpdateRequest.getDocIterator() |
List<SolrInputDocument> |
UpdateRequest.getDocuments() |
List<SolrInputDocument> |
DocumentAnalysisRequest.getDocuments()
Returns all documents that will be analyzed when processing the request.
|
Map<SolrInputDocument,Map<String,Object>> |
UpdateRequest.getDocumentsMap() |
Modifier and Type | Method and Description |
---|---|
UpdateRequest |
UpdateRequest.add(SolrInputDocument doc) |
UpdateRequest |
UpdateRequest.add(SolrInputDocument doc,
Boolean overwrite) |
UpdateRequest |
UpdateRequest.add(SolrInputDocument doc,
Integer commitWithin) |
UpdateRequest |
UpdateRequest.add(SolrInputDocument doc,
Integer commitWithin,
Boolean overwrite) |
DocumentAnalysisRequest |
DocumentAnalysisRequest.addDocument(SolrInputDocument doc)
Adds a document to be analyzed.
|
void |
JavaBinUpdateRequestCodec.StreamingUpdateHandler.update(SolrInputDocument document,
UpdateRequest req,
Integer commitWithin,
Boolean override) |
Modifier and Type | Method and Description |
---|---|
UpdateRequest |
UpdateRequest.add(Collection<SolrInputDocument> docs) |
DocumentAnalysisRequest |
DocumentAnalysisRequest.addDocuments(Collection<SolrInputDocument> docs)
Adds a collection of documents to be analyzed.
|
void |
UpdateRequest.setDocIterator(Iterator<SolrInputDocument> docIterator) |
Modifier and Type | Method and Description |
---|---|
static SolrInputDocument |
ClientUtils.toSolrInputDocument(SolrDocument d) |
Modifier and Type | Method and Description |
---|---|
static SolrDocument |
ClientUtils.toSolrDocument(SolrInputDocument d) |
static String |
ClientUtils.toXML(SolrInputDocument doc) |
static void |
ClientUtils.writeXML(SolrInputDocument doc,
Writer writer) |
Modifier and Type | Method and Description |
---|---|
protected SolrInputDocument |
AbstractFullDistribZkTestBase.getDoc(Object... fields) |
Modifier and Type | Method and Description |
---|---|
protected void |
StoppableIndexingThread.addFields(SolrInputDocument doc,
Object... fields) |
protected void |
AbstractFullDistribZkTestBase.indexDoc(SolrInputDocument doc) |
Modifier and Type | Method and Description |
---|---|
protected void |
StoppableIndexingThread.indexDocs(List<SolrInputDocument> docs) |
protected int |
AbstractFullDistribZkTestBase.sendDocsWithRetry(List<SolrInputDocument> batch,
int minRf,
int maxRetries,
int waitBeforeRetry) |
Modifier and Type | Method and Description |
---|---|
SolrInputDocument |
SolrInputDocument.deepCopy() |
Modifier and Type | Method and Description |
---|---|
List<SolrInputDocument> |
SolrInputDocument.getChildDocuments()
Returns the list of child documents, or null if none.
|
Modifier and Type | Method and Description |
---|---|
void |
SolrInputDocument.addChildDocument(SolrInputDocument child) |
Modifier and Type | Method and Description |
---|---|
void |
SolrInputDocument.addChildDocuments(Collection<SolrInputDocument> childs) |
Modifier and Type | Method and Description |
---|---|
protected String |
HashBasedRouter.getId(SolrInputDocument sdoc,
SolrParams params) |
abstract Slice |
DocRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
String route,
SolrParams params,
DocCollection collection)
Returns the Slice that the document should reside on, or null if there is not enough information
|
Slice |
ImplicitDocRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
String route,
SolrParams params,
DocCollection collection) |
Slice |
HashBasedRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
String route,
SolrParams params,
DocCollection collection) |
abstract boolean |
DocRouter.isTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
String shardId,
DocCollection collection) |
boolean |
ImplicitDocRouter.isTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
String shardId,
DocCollection collection) |
boolean |
HashBasedRouter.isTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
String shardId,
DocCollection collection) |
int |
HashBasedRouter.sliceHash(String id,
SolrInputDocument sdoc,
SolrParams params,
DocCollection collection) |
int |
CompositeIdRouter.sliceHash(String id,
SolrInputDocument doc,
SolrParams params,
DocCollection collection) |
Modifier and Type | Method and Description |
---|---|
SolrInputDocument |
JavaBinCodec.readSolrInputDocument(DataInputInputStream dis) |
Modifier and Type | Method and Description |
---|---|
void |
JavaBinCodec.writeSolrInputDocument(SolrInputDocument sdoc) |
Modifier and Type | Field and Description |
---|---|
static SolrInputDocument |
RealTimeGetComponent.DELETED |
Modifier and Type | Method and Description |
---|---|
static SolrInputDocument |
RealTimeGetComponent.getInputDocument(SolrCore core,
org.apache.lucene.util.BytesRef idBytes) |
static SolrInputDocument |
RealTimeGetComponent.getInputDocumentFromTlog(SolrCore core,
org.apache.lucene.util.BytesRef idBytes)
returns the SolrInputDocument from the current tlog, or DELETED if it has been deleted, or
null if there is no record of it in the current update log.
|
Modifier and Type | Field and Description |
---|---|
List<SolrInputDocument> |
DebugInfo.debugDocuments |
Modifier and Type | Method and Description |
---|---|
boolean |
SolrWriter.upload(SolrInputDocument d) |
boolean |
DIHWriter.upload(SolrInputDocument doc)
Add a document to this writer's underlying data store.
|
Modifier and Type | Field and Description |
---|---|
protected SolrInputDocument |
SolrContentHandler.document |
Modifier and Type | Method and Description |
---|---|
SolrInputDocument |
SolrContentHandler.newDocument()
This is called by a consumer when it is ready to deal with a new SolrInputDocument.
|
Modifier and Type | Method and Description |
---|---|
SolrInputDocument |
XMLLoader.readDoc(XMLStreamReader parser)
Given the input stream, read a document
|
Constructor and Description |
---|
UIMAToSolrMapper(SolrInputDocument document,
org.apache.uima.jcas.JCas cas) |
Modifier and Type | Field and Description |
---|---|
SolrInputDocument |
AddUpdateCommand.solrDoc |
Modifier and Type | Method and Description |
---|---|
SolrInputDocument |
AddUpdateCommand.getSolrInputDocument() |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.document.Document |
DocumentBuilder.toDocument(SolrInputDocument doc,
IndexSchema schema)
Convert a SolrInputDocument to a lucene Document.
|
Modifier and Type | Method and Description |
---|---|
SolrInputDocument |
AtomicUpdateDocumentMerger.merge(SolrInputDocument fromDoc,
SolrInputDocument toDoc)
Merges the fromDoc into the toDoc using the atomic update syntax.
|
protected SolrInputDocument |
LanguageIdentifierUpdateProcessor.process(SolrInputDocument doc)
This is the main, testable process method called from processAdd()
|
Modifier and Type | Method and Description |
---|---|
protected String |
TikaLanguageIdentifierUpdateProcessor.concatFields(SolrInputDocument doc)
Concatenates content from multiple fields
|
protected List<DetectedLanguage> |
TikaLanguageIdentifierUpdateProcessor.detectLanguage(SolrInputDocument doc) |
protected abstract List<DetectedLanguage> |
LanguageIdentifierUpdateProcessor.detectLanguage(SolrInputDocument content)
Detects language(s) from a string.
|
protected List<DetectedLanguage> |
LangDetectLanguageIdentifierUpdateProcessor.detectLanguage(SolrInputDocument doc) |
protected void |
AtomicUpdateDocumentMerger.doAdd(SolrInputDocument toDoc,
SolrInputField sif,
Object fieldVal) |
protected void |
AtomicUpdateDocumentMerger.doInc(SolrInputDocument toDoc,
SolrInputField sif,
Object fieldVal) |
protected void |
AtomicUpdateDocumentMerger.doRemove(SolrInputDocument toDoc,
SolrInputField sif,
Object fieldVal) |
protected void |
AtomicUpdateDocumentMerger.doRemoveRegex(SolrInputDocument toDoc,
SolrInputField sif,
Object valuePatterns) |
protected void |
AtomicUpdateDocumentMerger.doSet(SolrInputDocument toDoc,
SolrInputField sif,
Object fieldVal) |
SolrInputDocument |
AtomicUpdateDocumentMerger.merge(SolrInputDocument fromDoc,
SolrInputDocument toDoc)
Merges the fromDoc into the toDoc using the atomic update syntax.
|
protected SolrInputDocument |
LanguageIdentifierUpdateProcessor.process(SolrInputDocument doc)
This is the main, testable process method called from processAdd()
|
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.