Quantcast
Channel: DataStax Support Forums » Recent Topics
Viewing all articles
Browse latest Browse all 387

bryan on "Datastax SOLR commitWithin is not working"

$
0
0

When issuing the following curl command to update/add a document to SOLR it never gets committed even though I've added the commitWithin=10000 parameter.

curl -v 'http://localhost:8983/solr/proposal.solr/update/json?commitWithin=10' --data-binary @rfp.json -H 'Content-type:application/json'

The only way I can get the commit to occur is to explicitly issue a commit using the URL curl -v 'http://localhost:8983/solr/proposal.solr/update/json?commit=true'

This seems like a bug in Datastax search OR SOLR? Can someone clarify what's going on with this?

We're looking to load about 5 million records through this mechanism and would like to use the commitWithin parameter.


Viewing all articles
Browse latest Browse all 387

Trending Articles