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(java.util.Collection<SolrInputDocument> docs)
Adds a collection of documents
|
UpdateResponse |
SolrServer.add(java.util.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(java.lang.Object obj) |
Modifier and Type | Method and Description |
---|---|
UpdateResponse |
HttpSolrServer.add(java.util.Iterator<SolrInputDocument> docIterator)
Adds the documents supplied by the given iterator.
|
UpdateResponse |
CommonsHttpSolrServer.add(java.util.Iterator<SolrInputDocument> docIterator)
Deprecated.
Adds the documents supplied by the given iterator.
|
UpdateResponse |
CommonsHttpSolrServer.add(java.util.Iterator<SolrInputDocument> docIterator,
int commitWithinMs)
Deprecated.
Adds the documents supplied by the given iterator, specifying max time before they become committed
|
Modifier and Type | Field and Description |
---|---|
private java.util.Iterator<SolrInputDocument> |
UpdateRequest.docIterator |
private java.util.List<SolrInputDocument> |
UpdateRequest.documents |
private java.util.List<SolrInputDocument> |
DocumentAnalysisRequest.documents |
Modifier and Type | Method and Description |
---|---|
private SolrInputDocument |
JavaBinUpdateRequestCodec.listToSolrInputDocument(java.util.List<NamedList> namedList) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<SolrInputDocument> |
UpdateRequest.getDocIterator() |
java.util.List<SolrInputDocument> |
UpdateRequest.getDocuments() |
java.util.List<SolrInputDocument> |
DocumentAnalysisRequest.getDocuments()
Returns all documents that will be analyzed when processing the request.
|
Modifier and Type | Method and Description |
---|---|
UpdateRequest |
UpdateRequest.add(SolrInputDocument doc) |
DocumentAnalysisRequest |
DocumentAnalysisRequest.addDocument(SolrInputDocument doc)
Adds a document to be analyzed.
|
private java.util.List<NamedList> |
JavaBinUpdateRequestCodec.solrInputDocumentToList(SolrInputDocument doc) |
void |
JavaBinUpdateRequestCodec.StreamingUpdateHandler.update(SolrInputDocument document,
UpdateRequest req) |
Modifier and Type | Method and Description |
---|---|
UpdateRequest |
UpdateRequest.add(java.util.Collection<SolrInputDocument> docs) |
DocumentAnalysisRequest |
DocumentAnalysisRequest.addDocuments(java.util.Collection<SolrInputDocument> docs)
Adds a collection of documents to be analyzed.
|
void |
UpdateRequest.setDocIterator(java.util.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 java.lang.String |
ClientUtils.toXML(SolrInputDocument doc) |
static void |
ClientUtils.writeXML(SolrInputDocument doc,
java.io.Writer writer) |
Modifier and Type | Method and Description |
---|---|
(package private) SolrInputDocument |
JsonLoader.parseDoc(int ev) |
(package private) SolrInputDocument |
XMLLoader.readDoc(javax.xml.stream.XMLStreamReader parser)
Given the input stream, read a document
|
(package private) SolrInputDocument |
AnalysisRequestHandler.readDoc(javax.xml.stream.XMLStreamReader parser)
Deprecated.
|
(package private) SolrInputDocument |
DocumentAnalysisRequestHandler.readDocument(javax.xml.stream.XMLStreamReader reader,
IndexSchema schema)
Reads the document from the given xml stream reader.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
CSVLoader.FieldAdder.add(SolrInputDocument doc,
int line,
int column,
java.lang.String val) |
(package private) void |
CSVLoader.FieldAdderEmpty.add(SolrInputDocument doc,
int line,
int column,
java.lang.String val) |
(package private) void |
CSVLoader.FieldTrimmer.add(SolrInputDocument doc,
int line,
int column,
java.lang.String val) |
(package private) void |
CSVLoader.FieldMapperSingle.add(SolrInputDocument doc,
int line,
int column,
java.lang.String val) |
(package private) void |
CSVLoader.FieldSplitter.add(SolrInputDocument doc,
int line,
int column,
java.lang.String val) |
(package private) void |
CSVLoader.doAdd(int line,
java.lang.String[] vals,
SolrInputDocument doc,
AddUpdateCommand template)
this must be MT safe...
|
Modifier and Type | Field and Description |
---|---|
SolrInputDocument |
AddUpdateCommand.solrDoc |
Modifier and Type | Method and Description |
---|---|
SolrInputDocument |
AddUpdateCommand.getSolrInputDocument() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
DocumentBuilder.getID(SolrInputDocument doc,
IndexSchema schema) |
static org.apache.lucene.document.Document |
DocumentBuilder.toDocument(SolrInputDocument doc,
IndexSchema schema)
Convert a SolrInputDocument to a lucene Document.
|