public void remove(Product product){
  try {
    solrDao.remove(product.getId());
  }
 catch (  IOException|SolrServerException ex) {
    LOGGER.error("Cannot remove product " + product.getIdentifier() + "from index",ex);
  }
}

public void remove ( Product product ) { try { solrDao . remove ( product . getId ( ) ) ; } catch ( IOException | SolrServerException ex ) { LOGGER . error ( "Cannot remove product " + product . getIdentifier ( ) + "from index" , ex ) ; } }
removes the given product from the index .
