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 Yusniel Hidalgo Delgado <yh...@uci.cu> on 2011/07/19 10:32:23 UTC

Error 400 in Solr 1.4

Hi,

I have a problem when I try to send the qt param to Solr 1.4 with dismax 
value. I get the following error from Solr response:

HTTP ERROR: 400

undefined field price

RequestURI=/solr/select

Any idea?

Regards.

Re: Error 400 in Solr 1.4

Posted by Yusniel Hidalgo Delgado <yh...@uci.cu>.
Thanks Erik for your quick reply. You are right, In my solrconfig.xml 
file, I did have a wrong configuration option. Thanks again.

El 19/07/11 16:37, Erik Hatcher escribió:
> Just a hunch, ;), but I'm guessing you don't have a price field defined.  qt is for selecting a request handler you have defined in your solrconfig.xml - you need to customize the parameters to your schema.
>
> 	Erik
>
> On Jul 19, 2011, at 04:32 , Yusniel Hidalgo Delgado wrote:
>
>> Hi,
>>
>> I have a problem when I try to send the qt param to Solr 1.4 with dismax value. I get the following error from Solr response:
>>
>> HTTP ERROR: 400
>>
>> undefined field price
>>
>> RequestURI=/solr/select
>>
>> Any idea?
>>
>> Regards.

Re: Error 400 in Solr 1.4

Posted by Erik Hatcher <er...@gmail.com>.
Just a hunch, ;), but I'm guessing you don't have a price field defined.  qt is for selecting a request handler you have defined in your solrconfig.xml - you need to customize the parameters to your schema.

	Erik

On Jul 19, 2011, at 04:32 , Yusniel Hidalgo Delgado wrote:

> Hi,
> 
> I have a problem when I try to send the qt param to Solr 1.4 with dismax value. I get the following error from Solr response:
> 
> HTTP ERROR: 400
> 
> undefined field price
> 
> RequestURI=/solr/select
> 
> Any idea?
> 
> Regards.