Package | Description |
---|---|
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.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.
|
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)
Add a SolrInputDocument to this request
|
UpdateRequest |
UpdateRequest.add(SolrInputDocument doc,
Boolean overwrite)
Add a SolrInputDocument to this request
|
UpdateRequest |
UpdateRequest.add(SolrInputDocument doc,
Integer commitWithin)
Add a SolrInputDocument to this request
|
UpdateRequest |
UpdateRequest.add(SolrInputDocument doc,
Integer commitWithin,
Boolean overwrite)
Add a SolrInputDocument to this request
|
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)
Add a collection of SolrInputDocuments to this request
|
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)
Deprecated.
This method will be removed in Solr 6.0
|
Modifier and Type | Method and Description |
---|---|
static SolrDocument |
ClientUtils.toSolrDocument(SolrInputDocument d)
Deprecated.
This method will be removed in Solr 6.0
|
static String |
ClientUtils.toXML(SolrInputDocument doc) |
static void |
ClientUtils.writeXML(SolrInputDocument doc,
Writer writer) |
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> children) |
Modifier and Type | Method and Description |
---|---|
protected String |
HashBasedRouter.getId(SolrInputDocument sdoc,
SolrParams params) |
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 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
|
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) |
abstract boolean |
DocRouter.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) |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.