On 21 May 2012 06:05, Mansour Al Akeel wrote:
> Sorry,
> forgot to include the url and the error message:
> private static String url = "http://localhost:8080/solr/update";;
As the error message indicates, the normal request handler
is expecting XML. For indexing JSON, please see:
http://wiki.
ase you just need the JSON array squares brackets around
> the doument or list of documents.
>
> And also "update/json" in the URL.
>
> -- Jack Krupansky
>
> -Original Message- From: Mansour Al Akeel
> Sent: Sunday, May 20, 2012 8:35 PM
> To: solr-user@luce
nt: Sunday, May 20, 2012 8:35 PM
To: solr-user@lucene.apache.org
Subject: Re: Sending http post to solr indexing
Sorry,
forgot to include the url and the error message:
private static String url = "http://localhost:8080/solr/update";;
The error I am getting on t
Sorry,
forgot to include the url and the error message:
private static String url = "http://localhost:8080/solr/update";;
The error I am getting on the server is:
SEVERE: org.apache.solr.common.SolrException: Unexpected character '{'
(code 123) in prolog; expected '<'
at [row,col {unknown-sou