public class AddUpdateCommand extends UpdateCommand implements Iterable<org.apache.lucene.document.Document>
| Modifier and Type | Field and Description |
|---|---|
int |
commitWithin |
boolean |
overwrite |
SolrInputDocument |
solrDoc |
org.apache.lucene.index.Term |
updateTerm |
BUFFERING, CLEAR_CACHES, flags, IGNORE_AUTOCOMMIT, PEER_SYNC, REPLAY, req, 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() |
org.apache.lucene.util.BytesRef |
getIndexedId()
Returns the indexed ID for this document.
|
org.apache.lucene.document.Document |
getLuceneDocument()
Creates and returns a lucene Document to index.
|
String |
getPrintableId() |
SolrInputDocument |
getSolrInputDocument() |
boolean |
isBlock() |
Iterator<org.apache.lucene.document.Document> |
iterator() |
String |
name() |
void |
setIndexedId(org.apache.lucene.util.BytesRef indexedId) |
String |
toString() |
clone, getFlags, getReq, getVersion, setFlags, setReq, setVersionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic SolrInputDocument solrDoc
public boolean overwrite
public org.apache.lucene.index.Term updateTerm
public int commitWithin
public AddUpdateCommand(SolrQueryRequest req)
public String name()
name in class UpdateCommandpublic void clear()
public SolrInputDocument getSolrInputDocument()
public org.apache.lucene.document.Document getLuceneDocument()
public org.apache.lucene.util.BytesRef getIndexedId()
public void setIndexedId(org.apache.lucene.util.BytesRef indexedId)
public String getPrintableId()
public String getHashableId()
public boolean isBlock()
public Iterator<org.apache.lucene.document.Document> iterator()
public String toString()
toString in class UpdateCommandCopyright © 2000–2014 The Apache Software Foundation. All rights reserved.