Re: Error posting document

2006-06-20 Thread Chris Hostetter
: Yeah, Solr currently only accepts an HTTP-POST with an XML document as : the post body. That's not what you will get with a browser-based form : data / file post. Also, if i'm reading this comment correctly... : > It happens to be the form I am submitting it from, here is the output: ...then

Re: Error posting document

2006-06-20 Thread Yonik Seeley
Yeah, Solr currently only accepts an HTTP-POST with an XML document as the post body. That's not what you will get with a browser-based form data / file post. -Yonik On 6/20/06, Kerry Wilson <[EMAIL PROTECTED]> wrote: It is happening on all documents but just for fun here is one I have used:

Re: Error posting document

2006-06-20 Thread Kerry Wilson
It is happening on all documents but just for fun here is one I have used: Post to SOLR http://localhost:8080/solr/update"; method="POST"> It happens to be the form I am submitting it from, here is the output: org.xmlpull.v1.XmlPullParserException: only whitespac

Re: Error posting document

2006-06-20 Thread Yonik Seeley
On 6/20/06, Kerry Wilson <[EMAIL PROTECTED]> wrote: I am getting the following error when trying to post any document. Hi Kerry, could you provide an example document that show this? -Yonik

Error posting document

2006-06-20 Thread Kerry Wilson
I am getting the following error when trying to post any document. org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not = (position: START_DOCUMENT seen =... @1:1) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519) at org.xmlpull.mxp1.M