Hello,

I am trying to use commitwithin in Java but there seams to be no commit at all with this option.

1. Example Code:

    UpdateRequest request = new UpdateRequest();
    request.deleteByQuery("fild:value");
    request.setCommitWithin(10000);
    System.out.println(request.getCommitWithin());
    server.request(request);

2. Example Code:

    server.add(aSolrDocument,10000);

Only after an explicit commit ( server.commit(); ) are the changes available.

I have deleted the "autocommit" option in the solrconfig. Has anyone an idea?

Greetings
Jens

--
Jens Ellenberg,
Master of Science (Informatik)

Tel   +49 (40) 39 99 76 45
Fax   +49 (40) 39 99 76 40
EMail ellenb...@silpion.de

Silpion IT-Solutions GmbH
Firmensitz: Brandshofer Deich 48, 20539 Hamburg
Registergericht: Amtsgericht Hamburg, HRB 78585
Geschäftsführer: Patrick Postel

Reply via email to