You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by dm_tim <dm...@yahoo.com> on 2012/05/18 22:36:54 UTC

Solr 3.6.0 problem with multi-core and json

Howdy,

I have a multi-core set up in Solr 3.6.0 which works fine. That is until I
request the response in json with the "wt=json" parameter. When I do that it
looks like its using the schema.xml file of one of my other cores because it
complains that it can not get a required field that exists in the schema.xml
of one of the other cores.

Has anyone seen this issue before? If so what was the fix. I'm spending far
too much time trying to convert the default xml response into json. I'd like
to have the response returned in json.

Regards,

Tim


--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-3-6-0-problem-with-multi-core-and-json-tp3984790.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr 3.6.0 problem with multi-core and json

Posted by Chris Hostetter <ho...@fucit.org>.
: I should clarify the error a bit. When I make a select request on my first
: core (called core0) using the wt=json parameter I get a 400 response with
: the explanation "undefined field: gid". The field gid is not defined in the
: schema.xml file of my first core. But, it is defined in the schema.xml file
: of my third core (core2). Hopefully, this is a slightly better explanation
: of the problem.

What is the full stack trace of the error? (even if your client doens't 
get it, it should be in the log)

Are you sure there is no refrence to "gid" in your core0 solrconfig.xml?


-Hoss

Re: Solr 3.6.0 problem with multi-core and json

Posted by dm_tim <dm...@yahoo.com>.
I should clarify the error a bit. When I make a select request on my first
core (called core0) using the wt=json parameter I get a 400 response with
the explanation "undefined field: gid". The field gid is not defined in the
schema.xml file of my first core. But, it is defined in the schema.xml file
of my third core (core2). Hopefully, this is a slightly better explanation
of the problem.

T



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-3-6-0-problem-with-multi-core-and-json-tp3984790p3984793.html
Sent from the Solr - User mailing list archive at Nabble.com.