Bad request

36 views
Skip to first unread message

Premraj Narkhede

unread,
Oct 24, 2015, 3:51:20 PM10/24/15
to solrpy
Hi guys

I am getting bad request 400 code for "add" function down below

I am using Solr 5.3.1 and id is unique field with string as type

I am not getting the mistake here. It will be great if you can point it out or give some tests to determine issue

import solr
s = solr.SolrConnection('http://<<myserver>>:8983/solr/newrcindex')
s.add(id="WEB meta")

Premraj


Premraj Narkhede

unread,
Oct 24, 2015, 11:38:02 PM10/24/15
to solrpy
User solr.Solr to establish connection. Same error still

Premraj Narkhede

unread,
Oct 25, 2015, 12:01:54 AM10/25/15
to solrpy
Sorry to trouble you all

Issue was in solrconfig.xml

after migrating from Managed schema to classic schema i didnt remove updater code
Reply all
Reply to author
Forward
0 new messages