Re: Drill down a solr result set by facets

2010-03-30 Thread gwk
Hi, You are using the dismax request handler, which only accepts a simple string in the q parameter, you can't specify other fields in it that way. In any case, using filter queries (fq) as suggested by Indika Tantrigoda is a better option as these are cached separately which is quite useful

Re: Drill down a solr result set by facets

2010-03-29 Thread Dhanushka Samarakoon
Thanks Indika, that looks good. I'll look at the article. If anyone else has any good ideas please send them too. On Mon, Mar 29, 2010 at 11:09 AM, Indika Tantrigoda wrote: > Hi Dhanushka, > > Have you tried to use the filter query parameter. > Check out this article, the Applying Constraints sec

Re: Drill down a solr result set by facets

2010-03-29 Thread Indika Tantrigoda
Hi Dhanushka, Have you tried to use the filter query parameter. Check out this article, the Applying Constraints section should be helpful to you. http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Faceted-Search-Solr Solr Wiki link to filter query parameter http://wiki.apac

Re: Drill down a solr result set by facets

2010-03-29 Thread Dhanushka Samarakoon
Thanks for the reply. I was just giving the above as an example. Something as simple as following is also not working. /select/?q=france+fDepartmentName:History&version=2.2& So it looks like the query parameter syntax I'm using is wrong. This is the params array I'm getting from the result. 10 0

Re: Drill down a solr result set by facets

2010-03-29 Thread Tommy Chheng
Try adding quotes to your query: DepartmentName:Chemistry+fSponsor:\"US Cancer/Diabetic Research Institute\" The parser will split on whitespace Tommy Chheng Programmer and UC Irvine Graduate Student Twitter @tommychheng http://tommy.chheng.com On 3/29/10 8:49 AM, Dhanushka Samarakoon wrot

Drill down a solr result set by facets

2010-03-29 Thread Dhanushka Samarakoon
Hi, I'm trying to perform a search based on keywords and then reduce the result set based on facets that user selects. First query for a search would look like this. http://localhost:8983/solr/select/?q=cancer+stem&version=2.2&wt=php&start=&rows=10&indent=on&qt=dismax&facet=on&facet.mincount=1&fa