Re: solr indexing using jquery AJAX

2012-11-01 Thread amit
I changed as per your feedback. Added quotes and escaped them before id and name. Still not able to insert. data: "20trailblazers", The tomcat log says bad request. 192.168.11.88 - - [01/Nov/2012:17:10:35 +0530] "OPTIONS /solr/update?commit=true HTTP/1.1" 400 1052 In google chrome there are

Re: solr indexing using jquery AJAX

2012-10-30 Thread Michael Della Bitta
Also I believe you have to set the MIME type on your post. You might want to refer to the server side logs to see what Solr is saying about your request. There likely will be a descriptive error there. Michael Della Bitta Appinions 18 East 41st St

Re: solr indexing using jquery AJAX

2012-10-30 Thread Gora Mohanty
On 30 October 2012 20:16, Amit Mallik wrote: > Hi I am trying to index using AJAX basically jquery. > Below is my code > try { > $.ajax({ > type: "POST", > url: > "http://myserver:8080/solr/update?commit=true";