Example usage for org.apache.solr.update DeleteUpdateCommand setId

List of usage examples for org.apache.solr.update DeleteUpdateCommand setId

Introduction

In this page you can find the example usage for org.apache.solr.update DeleteUpdateCommand setId.

Prototype

public void setId(String id) 

Source Link

Usage

From source file:org.alfresco.solr.SolrInformationServer.java

License:Open Source License

private void deleteErrorNode(UpdateRequestProcessor processor, SolrQueryRequest request, Node node)
        throws IOException {
    String errorDocId = PREFIX_ERROR + node.getId();
    DeleteUpdateCommand delErrorDocCmd = new DeleteUpdateCommand(request);
    delErrorDocCmd.setId(errorDocId);
    processor.processDelete(delErrorDocCmd);
}