org.apache.solr.client.solrj.request
Class UpdateRequestExt
java.lang.Object
org.apache.solr.client.solrj.SolrRequest
org.apache.solr.client.solrj.request.AbstractUpdateRequest
org.apache.solr.client.solrj.request.UpdateRequestExt
- All Implemented Interfaces:
- Serializable, IsUpdateRequest
public class UpdateRequestExt
- extends AbstractUpdateRequest
- See Also:
- Serialized Form
Methods inherited from class org.apache.solr.client.solrj.request.AbstractUpdateRequest |
getAction, getCommitWithin, getParams, isWaitSearcher, process, rollback, setAction, setAction, setAction, setAction, setAction, setAction, setCommitWithin, setParam, setParams, setWaitSearcher |
UpdateRequestExt
public UpdateRequestExt()
UpdateRequestExt
public UpdateRequestExt(String url)
clear
public void clear()
- clear the pending documents and delete commands
add
public UpdateRequestExt add(SolrInputDocument doc)
add
public UpdateRequestExt add(SolrInputDocument doc,
int commitWithin,
boolean overwrite)
deleteById
public UpdateRequestExt deleteById(String id)
deleteById
public UpdateRequestExt deleteById(String id,
Long version)
deleteById
public UpdateRequestExt deleteById(List<String> ids)
deleteByQuery
public UpdateRequestExt deleteByQuery(String q)
getContentStreams
public Collection<ContentStream> getContentStreams()
throws IOException
- Specified by:
getContentStreams
in class SolrRequest
- Throws:
IOException
getXML
public String getXML()
throws IOException
- Throws:
IOException
writeXML
public void writeXML(Writer writer)
throws IOException
- Throws:
IOException
getDeleteById
public Map<String,Long> getDeleteById()
getDeleteQuery
public List<String> getDeleteQuery()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.