Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Http2SolrClient.OutStream |
Http2SolrClient.initOutStream(String baseUrl,
UpdateRequest updateRequest,
String collection) |
Modifier and Type | Method and Description |
---|---|
UpdateRequest |
UpdateRequest.add(Collection<SolrInputDocument> docs)
Add a collection of SolrInputDocuments to this request
|
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
|
UpdateRequest |
UpdateRequest.add(String... fields) |
UpdateRequest |
UpdateRequest.deleteById(List<String> ids) |
UpdateRequest |
UpdateRequest.deleteById(String id) |
UpdateRequest |
UpdateRequest.deleteById(String id,
Long version) |
UpdateRequest |
UpdateRequest.deleteById(String id,
String route) |
UpdateRequest |
UpdateRequest.deleteById(String id,
String route,
Long version) |
UpdateRequest |
UpdateRequest.deleteByQuery(String q) |
UpdateRequest |
JavaBinUpdateRequestCodec.unmarshal(InputStream is,
JavaBinUpdateRequestCodec.StreamingUpdateHandler handler)
Reads a NamedList from the given InputStream, converts it into a SolrInputDocument and passes it to the given
StreamingUpdateHandler
|
UpdateRequest |
UpdateRequest.withRoute(String route) |
UpdateRequest |
UpdateRequest.writeXML(Writer writer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
RequestWriter.isEmpty(UpdateRequest updateRequest) |
void |
JavaBinUpdateRequestCodec.marshal(UpdateRequest updateRequest,
OutputStream os)
Converts an UpdateRequest to a NamedList which can be serialized to the given OutputStream in the javabin format
|
void |
JavaBinUpdateRequestCodec.StreamingUpdateHandler.update(SolrInputDocument document,
UpdateRequest req,
Integer commitWithin,
Boolean override) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.