Uses of Class
org.apache.solr.update.CommitUpdateCommand

Packages that use CommitUpdateCommand
org.apache.solr.update   
 

Uses of CommitUpdateCommand in org.apache.solr.update
 

Methods in org.apache.solr.update with parameters of type CommitUpdateCommand
abstract  void UpdateHandler.commit(CommitUpdateCommand cmd)
           
 void DirectUpdateHandler2.commit(CommitUpdateCommand cmd)
           
 void DirectUpdateHandler.commit(CommitUpdateCommand cmd)
          old hit collector... new one is in base class // final DeleteHitCollector deleter = new DeleteHitCollector(); class DeleteHitCollector extends HitCollector { public int deleted=0; public void collect(int doc, float score) { try { searcher.getReader().delete(doc); deleted++; } catch (IOException e) { try { closeSearcher(); } catch (Exception ee) { SolrException.log(SolrCore.log,ee); } SolrException.log(SolrCore.log,e); throw new SolrException( SolrException.StatusCode.SERVER_ERROR,"Error deleting doc# "+doc,e); } } }
 



Copyright © 2006 - 2008 The Apache Software Foundation