public class AddUpdateCommand extends UpdateCommand
Modifier and Type | Field and Description |
---|---|
boolean |
allowDups |
int |
commitWithin |
Document |
doc |
String |
indexedId |
boolean |
overwriteCommitted |
boolean |
overwritePending |
SolrInputDocument |
solrDoc |
Term |
updateTerm |
commandName
Constructor and Description |
---|
AddUpdateCommand() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Reset state to reuse this object with a different document in the same request
|
String |
getIndexedId(IndexSchema schema) |
Document |
getLuceneDocument(IndexSchema schema) |
String |
getPrintableId(IndexSchema schema) |
SolrInputDocument |
getSolrInputDocument() |
String |
toString() |
public String indexedId
public Document doc
public SolrInputDocument solrDoc
public boolean allowDups
public boolean overwritePending
public boolean overwriteCommitted
public Term updateTerm
public int commitWithin
public void clear()
public SolrInputDocument getSolrInputDocument()
public Document getLuceneDocument(IndexSchema schema)
public String getIndexedId(IndexSchema schema)
public String getPrintableId(IndexSchema schema)
public String toString()
toString
in class UpdateCommand