Re: JSON delete error with latest branch_3x
Thanks Yonik, all my app's test cases now pass again. --Paul On Wed, May 18, 2011 at 2:04 PM, Yonik Seeley wrote: > OK, I just fixed this on branch_3x. > Trunk is fine (it was an error in the 3x backport that wasn't caught > because the test doesn't go through the complete solr stack to the > update handkler). > > -Yonik > http://www.lucenerevolution.org -- Lucene/Solr User Conference, May > 25-26, San Francisco > > > On Wed, May 18, 2011 at 1:29 PM, Yonik Seeley > wrote: >> On Wed, May 18, 2011 at 1:24 PM, Paul Dlug wrote: >>> I updated to the latest branch_3x (r1124339) and I'm now getting the >>> error below when trying a delete by query or id. Adding documents with >>> the new format works as do the commit and optimize commands. Possible >>> regression due to SOLR-2496? >>> >>> curl 'http://localhost:8988/solr/update/json?wt=json' -H >>> 'Content-type:application/json' -d '{"delete":{"query":"*:*"}}' >>> >>> Error 400 meaningless command: >>> delete:query=`*:*`,fromPending=false,fromCommitted=false >>> >>> Problem accessing /solr/update/json. Reason: >>> meaningless command: >>> delete:query=`*:*`,fromPending=false,fromCommitted=false >> >> Hmmm, looks like unit tests must be inadequate for the JSON format. >> I'll look into it. >> >> -Yonik >> http://www.lucenerevolution.org -- Lucene/Solr User Conference, May >> 25-26, San Francisco >> >
Re: JSON delete error with latest branch_3x
OK, I just fixed this on branch_3x. Trunk is fine (it was an error in the 3x backport that wasn't caught because the test doesn't go through the complete solr stack to the update handkler). -Yonik http://www.lucenerevolution.org -- Lucene/Solr User Conference, May 25-26, San Francisco On Wed, May 18, 2011 at 1:29 PM, Yonik Seeley wrote: > On Wed, May 18, 2011 at 1:24 PM, Paul Dlug wrote: >> I updated to the latest branch_3x (r1124339) and I'm now getting the >> error below when trying a delete by query or id. Adding documents with >> the new format works as do the commit and optimize commands. Possible >> regression due to SOLR-2496? >> >> curl 'http://localhost:8988/solr/update/json?wt=json' -H >> 'Content-type:application/json' -d '{"delete":{"query":"*:*"}}' >> >> Error 400 meaningless command: >> delete:query=`*:*`,fromPending=false,fromCommitted=false >> >> Problem accessing /solr/update/json. Reason: >> meaningless command: >> delete:query=`*:*`,fromPending=false,fromCommitted=false > > Hmmm, looks like unit tests must be inadequate for the JSON format. > I'll look into it. > > -Yonik > http://www.lucenerevolution.org -- Lucene/Solr User Conference, May > 25-26, San Francisco >
Re: JSON delete error with latest branch_3x
On Wed, May 18, 2011 at 1:24 PM, Paul Dlug wrote: > I updated to the latest branch_3x (r1124339) and I'm now getting the > error below when trying a delete by query or id. Adding documents with > the new format works as do the commit and optimize commands. Possible > regression due to SOLR-2496? > > curl 'http://localhost:8988/solr/update/json?wt=json' -H > 'Content-type:application/json' -d '{"delete":{"query":"*:*"}}' > > Error 400 meaningless command: > delete:query=`*:*`,fromPending=false,fromCommitted=false > > Problem accessing /solr/update/json. Reason: > meaningless command: delete:query=`*:*`,fromPending=false,fromCommitted=false Hmmm, looks like unit tests must be inadequate for the JSON format. I'll look into it. -Yonik http://www.lucenerevolution.org -- Lucene/Solr User Conference, May 25-26, San Francisco