lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuval Feinstein <yuv...@answers.com>
Subject RE: Making my QParserPlugin the default one, with cores
Date Wed, 09 Jun 2010 07:52:18 GMT
Thanks, Ahmet.
Yes, my solrconfig.xml file is very similar to what you wrote.
When I use &echoparams=all and defType=myqp, I get:

<lst name="params">
<str name="q">hi</str>
<str name="echoparams">all</str>
<str name="defType">myqp</str>
</lst>

However, when I do not use the defType (hoping it will be automatically 
Inserted from solrconfig),  I get:

<lst name="params">
<str name="q">hi</str>
<str name="echoparams">all</str>
</lst>

Can you see what I am doing wrong?
Thanks,
Yuval


-----Original Message-----
From: Ahmet Arslan [mailto:iorixxx@yahoo.com] 
Sent: Tuesday, June 08, 2010 3:52 PM
To: solr-user@lucene.apache.org
Subject: Re: Making my QParserPlugin the default one, with cores

>It appears that the defType parameter is not being set by the request >handler. 

What do you get when you append &echoParams=all to your search url?

So you have something like this entry in solrconfig.xml

<requestHandler name="standard" class="solr.SearchHandler" default="true">
<lst name="defaults">
<str name="defType">myqp</str>
</lst>
</requestHandler> 



 





      

Mime
View raw message