| Package | Description | 
|---|---|
| org.apache.solr.update | |
| org.apache.solr.update.processor | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
UpdateHandler.delete(DeleteUpdateCommand cmd)  | 
void | 
DirectUpdateHandler2.delete(DeleteUpdateCommand cmd)  | 
void | 
DirectUpdateHandler.delete(DeleteUpdateCommand cmd)
Deprecated.  
Direct update handler - pseudo code ***********
  def add(doc, id, allowDups, overwritePending, overwriteCommitted):
    if not overwritePending and not overwriteCommitted:
      #special case... no need to check pending set, and we don't keep
      #any state around about this addition
      if allowDups:
        committed[id]=doc  #100
        return
      else:
        #if no dups allowed, we must check the *current* index (pending and committed)
        if not committed[id]: committed[id]=doc  #000
        return
    #001  (searchd addConditionally)
    if not allowDups and not overwritePending and pending[id]: return
    del committed[id]  #delete from pending and committed  111 011
    committed[id]=doc
    pending[id]=True 
 | 
abstract void | 
UpdateHandler.deleteByQuery(DeleteUpdateCommand cmd)  | 
void | 
DirectUpdateHandler2.deleteByQuery(DeleteUpdateCommand cmd)  | 
void | 
DirectUpdateHandler.deleteByQuery(DeleteUpdateCommand cmd)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
UpdateRequestProcessor.processDelete(DeleteUpdateCommand cmd)  |