Re: strange difference between json and xml responses

2008-12-09 Thread Yonik Seeley
On Tue, Dec 9, 2008 at 5:45 PM, Matt Mitchell <[EMAIL PROTECTED]> wrote: > Thanks Yonik. Should submit this as a bug ticket? Currently it's not a deal > breaker as we're setting fl manually anyway. Yes, please do. -Yonik

Re: strange difference between json and xml responses

2008-12-09 Thread Matt Mitchell
Thanks Yonik. Should submit this as a bug ticket? Currently it's not a deal breaker as we're setting fl manually anyway. Matt On Tue, Dec 9, 2008 at 5:38 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > There is probably a document in your index with the field "word". > The json writers may be less

Re: strange difference between json and xml responses

2008-12-09 Thread Yonik Seeley
There is probably a document in your index with the field "word". The json writers may be less tolerant when encountering a field that is not known. We should perhaps change the json/text based writers to handle this case gracefully also. -Yonik On Tue, Dec 9, 2008 at 5:18 PM, Matt Mitchell <[E

Re: strange difference between json and xml responses

2008-12-09 Thread Matt Mitchell
Actually, the dismax thing was a bad example. So, forget about the qt param for now. I did however, search the schema and didn't find a reference to "word". The problem comes in when I switch the wt param from xml to json (or ruby). q=*:*&wt=xml == success q=*:*&wt=json == error q=*:*&wt=ruby == e

Re: strange difference between json and xml responses

2008-12-09 Thread Otis Gospodnetic
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 <[EMAIL PROTECTED]> > To: solr-user@luce