public class UpdateRequestExt extends AbstractUpdateRequest
AbstractUpdateRequest.ACTIONSolrRequest.METHODcommitWithin, 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, setWaitSearchergetMethod, getPath, getResponseParser, getStreamingResponseCallback, setMethod, setPath, setResponseParser, setStreamingResponseCallbackpublic 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 SolrRequestIOExceptionpublic String getXML() throws IOException
IOExceptionpublic void writeXML(Writer writer) throws IOException
IOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.