Re: delete changed?

2007-06-21 Thread Chris Hostetter
:  curl http://192.168.7.6:8080/solr0/update --data-binary
: 'deletequerynodeid:20/query/delete'
:
: i remember it is ok when i use solr 1.1
...
: HTTP Status 400 - missing content stream


please note the Upgrading from Solr 1.1 section of the 1.2 CHANGES.txt
file, which states...

The Solr Request Handler framework has been updated in two key ways:
First, if a Request Handler is registered in solrconfig.xml with a name
starting with / then it can be accessed using path-based URL, instead of
using the legacy /select?qt=name URL structure.  Second, the Request
Handler framework has been extended making it possible to write Request
Handlers that process streams of data for doing updates, and there is a
new-style Request Handler for XML updates given the name of /update in
the example solrconfig.xml.  Existing installations without this /update
handler will continue to use the old update servlet and should see no
changes in behavior.  For new-style update handlers, errors are now
reflected in the HTTP status code, Content-type checking is more strict,
and the response format has changed and is controllable via the wt
parameter.



-Hoss



delete changed?

2007-06-20 Thread James liu

solr:1.2

curl http://192.168.7.6:8080/solr0/update --data-binary
'deletequerynodeid:20/query/delete'

i remember it is ok when i use solr 1.1

does it change?

it show me:
HTTP Status 400 - missing content stream
--

*type* Status report

*message* *missing content stream*

*description* *The request sent by the client was syntactically incorrect
(missing content stream).*


--
regards
jl