Hi, I have a question on Solr Transaction as relational databases The Solr commit is not isolated for each client session, right? In my test (source below) The commit in a session adds records of other sessions is there a documentation on this? is what's planned improvements on this? version 6, version 7? Thank you for any ideas!
Source example : public class TransactionTest { static final String BASE_URL = "http://localhost:8983/solr/test"; public static void main(String[] args) { try { new TransactionTest(); } catch (Exception e) { e.printStackTrace(); } } public TransactionTest() throws Exception { HttpSolrClient solrClient = new HttpSolrClient(BASE_URL); DTOMail mail = new DTOMail(); mail.setType("mail"); mail.setBody("test body"); System.out.println("add been"); solrClient.addBean(mail); pause(); System.out.println("commit"); solrClient.commit(); solrClient.close(); } private void pause() { try { System.in.read(); } catch (Exception e) { } } }