Re: Dismax Request handler and Solrconfig.xml
I'm having the same problem - the standard query returns all my documents, but the dismax one returns 0. Any ideas? http://server:8983/solr/select?qt=standard&indent=on&q=* − 0 3592 − on standard * − − [...] http://server:8983/solr/select?qt=dismax&indent=on&q=* − 0 10 − on dismax * On Sep 29, 2010, at 2:31 PM, Chris Hostetter wrote: > : In Solrconfig.xml, default request handler is set to "standard". I am > : planning to change that to use dismax as the request handler but when I > : set "default=true" for dismax - Solr does not return any results - I get > : results only when I comment out "dismax". > > you need to elaborate on what you mean by "does not return any results" > ... doesn't return results for what exactly? what do your requests look > like? (ie full URLs with all params) what do you expect to get back? > > what URLs are you using when you don't use defType=dismax? what do you get > back then? > > not setting defType means you are getting the standard LuceneQParser > instead o the DismaxQParser which means the qf param is being ignored and > hte defaultSearchField is being used instead. are the terms you are > searching for in your default search field but not in your title or > pagedescription field? > > Please note these guidelines > http://wiki.apache.org/solr/UsingMailingLists#Information_useful_for_searching_problems > > > -Hoss > > -- > http://lucenerevolution.org/ ... October 7-8, Boston > http://bit.ly/stump-hoss ... Stump The Chump! >
Re: Dismax Request handler and Solrconfig.xml
: In Solrconfig.xml, default request handler is set to "standard". I am : planning to change that to use dismax as the request handler but when I : set "default=true" for dismax - Solr does not return any results - I get : results only when I comment out "dismax". you need to elaborate on what you mean by "does not return any results" ... doesn't return results for what exactly? what do your requests look like? (ie full URLs with all params) what do you expect to get back? what URLs are you using when you don't use defType=dismax? what do you get back then? not setting defType means you are getting the standard LuceneQParser instead o the DismaxQParser which means the qf param is being ignored and hte defaultSearchField is being used instead. are the terms you are searching for in your default search field but not in your title or pagedescription field? Please note these guidelines http://wiki.apache.org/solr/UsingMailingLists#Information_useful_for_searching_problems -Hoss -- http://lucenerevolution.org/ ... October 7-8, Boston http://bit.ly/stump-hoss ... Stump The Chump!
Re: Dismax Request handler and Solrconfig.xml
I notice we don't have the default=true, instead we manually specify qt=dismax in our queries. HTH. -L On Tue, Sep 28, 2010 at 4:24 PM, Luke Crouch wrote: > What you have is exactly what I have on 1.4.0: > > > > > dismax > > And it has worked fine. We copied our solrconfig.xml from the examples and > changed them for our purposes. You might compare your solrconfig.xml to some > of the examples. > > -L > > > On Tue, Sep 28, 2010 at 4:19 PM, Thumuluri, Sai < > sai.thumul...@verizonwireless.com> wrote: > >> Can I please get some help here? I am in a tight timeline to get this >> done - any ideas/suggestions would be greatly appreciated. >> >> -Original Message- >> From: Thumuluri, Sai [mailto:sai.thumul...@verizonwireless.com] >> Sent: Tuesday, September 28, 2010 12:15 PM >> To: solr-user@lucene.apache.org >> Subject: Dismax Request handler and Solrconfig.xml >> Importance: High >> >> Hi, >> >> I am using Solr 1.4.1 with Nutch to index some of our intranet content. >> In Solrconfig.xml, default request handler is set to "standard". I am >> planning to change that to use dismax as the request handler but when I >> set "default=true" for dismax - Solr does not return any results - I get >> results only when I comment out "dismax". >> >> This works >> > default="true"> >> >> >> explicit >> 10 >> * >> title^20.0 pagedescription^15.0 >> 2.1 >> >> >> >> DOES NOT WORK >> > default="true"> >> >> dismax >> explicit >> >> THIS WORKS >> > default="true"> >> >> >> > name="echoParams">explicit >> >> >> >
Re: Dismax Request handler and Solrconfig.xml
What you have is exactly what I have on 1.4.0: dismax And it has worked fine. We copied our solrconfig.xml from the examples and changed them for our purposes. You might compare your solrconfig.xml to some of the examples. -L On Tue, Sep 28, 2010 at 4:19 PM, Thumuluri, Sai < sai.thumul...@verizonwireless.com> wrote: > Can I please get some help here? I am in a tight timeline to get this > done - any ideas/suggestions would be greatly appreciated. > > -Original Message- > From: Thumuluri, Sai [mailto:sai.thumul...@verizonwireless.com] > Sent: Tuesday, September 28, 2010 12:15 PM > To: solr-user@lucene.apache.org > Subject: Dismax Request handler and Solrconfig.xml > Importance: High > > Hi, > > I am using Solr 1.4.1 with Nutch to index some of our intranet content. > In Solrconfig.xml, default request handler is set to "standard". I am > planning to change that to use dismax as the request handler but when I > set "default=true" for dismax - Solr does not return any results - I get > results only when I comment out "dismax". > > This works > default="true"> > > > explicit > 10 > * > title^20.0 pagedescription^15.0 > 2.1 > > > > DOES NOT WORK > default="true"> > > dismax > explicit > > THIS WORKS > default="true"> > > > name="echoParams">explicit > > >
RE: Dismax Request handler and Solrconfig.xml
Can I please get some help here? I am in a tight timeline to get this done - any ideas/suggestions would be greatly appreciated. -Original Message- From: Thumuluri, Sai [mailto:sai.thumul...@verizonwireless.com] Sent: Tuesday, September 28, 2010 12:15 PM To: solr-user@lucene.apache.org Subject: Dismax Request handler and Solrconfig.xml Importance: High Hi, I am using Solr 1.4.1 with Nutch to index some of our intranet content. In Solrconfig.xml, default request handler is set to "standard". I am planning to change that to use dismax as the request handler but when I set "default=true" for dismax - Solr does not return any results - I get results only when I comment out "dismax". This works explicit 10 * title^20.0 pagedescription^15.0 2.1 DOES NOT WORK dismax explicit THIS WORKS explicit
RE: Dismax Request handler and Solrconfig.xml
I removed default=true from standard request handler -Original Message- From: Luke Crouch [mailto:lcro...@geek.net] Sent: Tuesday, September 28, 2010 12:50 PM To: solr-user@lucene.apache.org Subject: Re: Dismax Request handler and Solrconfig.xml Are you removing the standard default requestHandler when you do this? Or are you specifying two requestHandler's with default="true" ? -L On Tue, Sep 28, 2010 at 11:14 AM, Thumuluri, Sai < sai.thumul...@verizonwireless.com> wrote: > Hi, > > I am using Solr 1.4.1 with Nutch to index some of our intranet content. > In Solrconfig.xml, default request handler is set to "standard". I am > planning to change that to use dismax as the request handler but when I > set "default=true" for dismax - Solr does not return any results - I get > results only when I comment out "dismax". > > This works > default="true"> > > > explicit > 10 > * > title^20.0 pagedescription^15.0 > 2.1 > > > > DOES NOT WORK > default="true"> > > dismax > explicit > > THIS WORKS > default="true"> > > > name="echoParams">explicit > > Please let me know what I am doing wrong here. > > Sai Thumuluri > Sr. Member - Application Staff > IT Intranet & Knoweldge Mgmt. Systems > 614 560-8041 (Desk) > 614 327-7200 (Mobile) > > >
Re: Dismax Request handler and Solrconfig.xml
Are you removing the standard default requestHandler when you do this? Or are you specifying two requestHandler's with default="true" ? -L On Tue, Sep 28, 2010 at 11:14 AM, Thumuluri, Sai < sai.thumul...@verizonwireless.com> wrote: > Hi, > > I am using Solr 1.4.1 with Nutch to index some of our intranet content. > In Solrconfig.xml, default request handler is set to "standard". I am > planning to change that to use dismax as the request handler but when I > set "default=true" for dismax - Solr does not return any results - I get > results only when I comment out "dismax". > > This works > default="true"> > > > explicit > 10 > * > title^20.0 pagedescription^15.0 > 2.1 > > > > DOES NOT WORK > default="true"> > > dismax > explicit > > THIS WORKS > default="true"> > > > name="echoParams">explicit > > Please let me know what I am doing wrong here. > > Sai Thumuluri > Sr. Member - Application Staff > IT Intranet & Knoweldge Mgmt. Systems > 614 560-8041 (Desk) > 614 327-7200 (Mobile) > > >
Dismax Request handler and Solrconfig.xml
Hi, I am using Solr 1.4.1 with Nutch to index some of our intranet content. In Solrconfig.xml, default request handler is set to "standard". I am planning to change that to use dismax as the request handler but when I set "default=true" for dismax - Solr does not return any results - I get results only when I comment out "dismax". This works explicit 10 * title^20.0 pagedescription^15.0 2.1 DOES NOT WORK dismax explicit THIS WORKS explicit Please let me know what I am doing wrong here. Sai Thumuluri Sr. Member - Application Staff IT Intranet & Knoweldge Mgmt. Systems 614 560-8041 (Desk) 614 327-7200 (Mobile)