org.apache.solr.update
Class AddUpdateCommand
java.lang.Object
org.apache.solr.update.UpdateCommand
org.apache.solr.update.AddUpdateCommand
public class AddUpdateCommand
- extends UpdateCommand
- Version:
- $Id: AddUpdateCommand.java 1145201 2011-07-11 15:18:47Z yonik $
indexedId
public String indexedId
doc
public Document doc
solrDoc
public org.apache.solr.common.SolrInputDocument solrDoc
allowDups
public boolean allowDups
overwritePending
public boolean overwritePending
overwriteCommitted
public boolean overwriteCommitted
updateTerm
public Term updateTerm
commitWithin
public int commitWithin
AddUpdateCommand
public AddUpdateCommand()
clear
public void clear()
- Reset state to reuse this object with a different document in the same request
getSolrInputDocument
public org.apache.solr.common.SolrInputDocument getSolrInputDocument()
getLuceneDocument
public Document getLuceneDocument(IndexSchema schema)
getIndexedId
public String getIndexedId(IndexSchema schema)
getPrintableId
public String getPrintableId(IndexSchema schema)
toString
public String toString()
- Overrides:
toString
in class UpdateCommand