org.apache.solr.update
Modifier and Type | Field and Description |
---|---|
int |
commitWithin |
boolean |
overwrite |
SolrInputDocument |
solrDoc |
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() |
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, getVersion, setFlags, setReq, setVersion
public SolrInputDocument solrDoc
public boolean overwrite
public Term updateTerm
public int commitWithin
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-2014 Apache Software Foundation. All Rights Reserved.