lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Dlug <paul.d...@gmail.com>
Subject Re: JSON delete error with latest branch_3x
Date Wed, 18 May 2011 18:07:21 GMT
Thanks Yonik, all my app's test cases now pass again.


--Paul

On Wed, May 18, 2011 at 2:04 PM, Yonik Seeley
<yonik@lucidimagination.com> 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
> <yonik@lucidimagination.com> wrote:
>> On Wed, May 18, 2011 at 1:24 PM, Paul Dlug <paul.dlug@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
>>
>

Mime
View raw message