Package org.springframework.data.solr.core

Examples of org.springframework.data.solr.core.SolrOperations.commit()


  private void deleteAll() {
    SolrOperations template;
    try {
      template = createSolrTemplate();
      template.delete(new SimpleQuery(new SimpleStringCriteria("*:*")));
      template.commit();
    } catch (IOException e) {
      throw new RuntimeException(e);
    } catch (ParserConfigurationException e) {
      throw new RuntimeException(e);
    } catch (SAXException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.