Modifier and Type | Field and Description |
---|---|
int |
commitWithin |
boolean |
isLastDocInBatch |
boolean |
overwrite |
int |
pollQueueTime |
SolrInputDocument |
solrDoc |
Term |
updateTerm |
BUFFERING, CLEAR_CACHES, flags, IGNORE_AUTOCOMMIT, PEER_SYNC, REPLAY, req, route, version
Constructor and Description |
---|
AddUpdateCommand(SolrQueryRequest req) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Reset state to reuse this object with a different document in the same request
|
String |
getHashableId() |
BytesRef |
getIndexedId()
Returns the indexed ID for this document.
|
Document |
getLuceneDocument()
Creates and returns a lucene Document to index.
|
String |
getPrintableId() |
SolrInputDocument |
getSolrInputDocument() |
boolean |
isBlock() |
Iterator<Document> |
iterator() |
String |
name() |
void |
setIndexedId(BytesRef indexedId) |
String |
toString() |
clone, getFlags, getReq, getRoute, getVersion, setFlags, setReq, setRoute, setVersion
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public SolrInputDocument solrDoc
public boolean overwrite
public Term updateTerm
public int commitWithin
public boolean isLastDocInBatch
public int pollQueueTime
public AddUpdateCommand(SolrQueryRequest req)
public String name()
name
in class UpdateCommand
public void clear()
public SolrInputDocument getSolrInputDocument()
public Document getLuceneDocument()
public BytesRef getIndexedId()
public void setIndexedId(BytesRef indexedId)
public String getPrintableId()
public String getHashableId()
public boolean isBlock()
public String toString()
toString
in class UpdateCommand
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.