public class UpdateRequestExt extends AbstractUpdateRequest
AbstractUpdateRequest.ACTION
SolrRequest.METHOD
commitWithin, params
Constructor and Description |
---|
UpdateRequestExt() |
UpdateRequestExt(String url) |
Modifier and Type | Method and Description |
---|---|
UpdateRequestExt |
add(SolrInputDocument doc) |
UpdateRequestExt |
add(SolrInputDocument doc,
int commitWithin,
boolean overwrite) |
void |
clear()
clear the pending documents and delete commands
|
UpdateRequestExt |
deleteById(List<String> ids) |
UpdateRequestExt |
deleteById(String id) |
UpdateRequestExt |
deleteById(String id,
Long version) |
UpdateRequestExt |
deleteByQuery(String q) |
Collection<ContentStream> |
getContentStreams() |
Map<String,Long> |
getDeleteById() |
List<String> |
getDeleteQuery() |
String |
getXML() |
String |
toString() |
void |
writeXML(Writer writer) |
getAction, getCommitWithin, getParams, isWaitSearcher, process, rollback, setAction, setAction, setAction, setAction, setAction, setAction, setCommitWithin, setParam, setParams, setWaitSearcher
getMethod, getPath, getResponseParser, getStreamingResponseCallback, setMethod, setPath, setResponseParser, setStreamingResponseCallback
public UpdateRequestExt()
public UpdateRequestExt(String url)
public void clear()
public UpdateRequestExt add(SolrInputDocument doc)
public UpdateRequestExt add(SolrInputDocument doc, int commitWithin, boolean overwrite)
public UpdateRequestExt deleteById(String id)
public UpdateRequestExt deleteById(String id, Long version)
public UpdateRequestExt deleteById(List<String> ids)
public UpdateRequestExt deleteByQuery(String q)
public Collection<ContentStream> getContentStreams() throws IOException
getContentStreams
in class SolrRequest
IOException
public String getXML() throws IOException
IOException
public void writeXML(Writer writer) throws IOException
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.