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
<yo...@lucidimagination.com> wrote:
> On Wed, May 18, 2011 at 1:24 PM, Paul Dlug <paul.d...@gmail.com> 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
>

Reply via email to