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.impl |
Concrete implementations of client API classes.
|
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 |
SolrServer.add(SolrInputDocument doc)
Adds a single document
|
UpdateResponse |
SolrServer.add(SolrInputDocument doc,
int commitWithinMs)
Adds a single document specifying max time before it becomes committed
|
Modifier and Type | Method and Description |
---|---|
UpdateResponse |
SolrServer.add(Collection<SolrInputDocument> docs)
Adds a collection of documents
|
UpdateResponse |
SolrServer.add(Collection<SolrInputDocument> docs,
int commitWithinMs)
Adds a collection of documents, specifying max time before they become committed
|
Modifier and Type | Method and Description |
---|---|
SolrInputDocument |
DocumentObjectBinder.toSolrInputDocument(Object obj) |
Modifier and Type | Method and Description |
---|---|
UpdateResponse |
HttpSolrServer.add(Iterator<SolrInputDocument> docIterator)
Adds the documents supplied by the given iterator.
|
Modifier and Type | Method and Description |
---|---|
Iterator<SolrInputDocument> |
UpdateRequest.getDocIterator() |
List<SolrInputDocument> |
DocumentAnalysisRequest.getDocuments()
Returns all documents that will be analyzed when processing the request.
|
List<SolrInputDocument> |
UpdateRequest.getDocuments() |
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 |
---|---|
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) |
Slice |
ImplicitDocRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
DocCollection collection) |
abstract Slice |
DocRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
DocCollection collection)
Returns the Slice that the document should reside on, or null if there is not enough information
|
Slice |
HashBasedRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
DocCollection collection) |
boolean |
ImplicitDocRouter.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) |
boolean |
HashBasedRouter.isTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
String shardId,
DocCollection collection) |
int |
CompositeIdRouter.sliceHash(String id,
SolrInputDocument doc,
SolrParams params,
DocCollection collection) |
int |
HashBasedRouter.sliceHash(String id,
SolrInputDocument sdoc,
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-2014 Apache Software Foundation. All Rights Reserved.