lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: strange difference between json and xml responses
Date Tue, 09 Dec 2008 22:10:20 GMT
Hi Matt,

You need to edit your solrconfig.xml and look for the word "word" in the dismax section of
the config and change it to "spell".

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Matt Mitchell <goodieboy@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Tuesday, December 9, 2008 2:08:43 PM
> Subject: strange difference between json and xml responses
> 
> Hi,
> 
> A while ago, we had a field called "word" which was used as a spelling
> field. We switched this to "spell". When querying our solr instance with
> just q=*:*, we get back the expected results. When querying our solr
> instance with q=*:*&wt=json, we get this (below). When setting the qt to
> dismax, the error goes away but no results come back.
> 
> Is this a bug in the json response writer? Or more than likely, something
> I'm completely glossing over?
> 
> Matt
> HTTP Status 400 - undefined field word
> ------------------------------
> 
> *type* Status report
> 
> *message* *undefined field word*
> 
> *description* *The request sent by the client was syntactically incorrect
> (undefined field word).*
> ------------------------------
> Apache Tomcat/6.0.18


Mime
View raw message