JSON update request handler commitWithin

2013-09-05 Thread Ryan, Brent
I'm prototyping a search product for us and I was trying to use the 
commitWithin parameter for posting updated JSON documents like so:

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

However, the commit never seems to happen as you can see below there are still 
2 docsPending (even 1 hour later).  Is there a trick to getting this to work 
with submitting to the json update request handler?
[cid:483C4A1C-D20D-4AAB-822E-DFCA03026572]



Re: JSON update request handler commitWithin

2013-09-05 Thread Ryan, Brent
Ya, looks like this is a bug in Datastax Enterprise 3.1.2.  I'm using
their enterprise cluster search product which is built on SOLR 4.

:(



On 9/5/13 11:24 AM, Jack Krupansky j...@basetechnology.com wrote:

I just tried commitWithin with the standard Solr example in Solr 4.4 and
it works fine.

Can you reproduce your problem using the standard Solr example in Solr
4.4?

-- Jack Krupansky

From: Ryan, Brent 
Sent: Thursday, September 05, 2013 10:39 AM
To: solr-user@lucene.apache.org
Subject: JSON update request handler  commitWithin

I'm prototyping a search product for us and I was trying to use the
commitWithin parameter for posting updated JSON documents like so:

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

However, the commit never seems to happen as you can see below there are
still 2 docsPending (even 1 hour later).  Is there a trick to getting
this to work with submitting to the json update request handler?