Re: limit the search results to one category

2010-12-15 Thread Chris Hostetter

: Subject: limit the search results to one category
: References: 427522.34555...@web52907.mail.re2.yahoo.com
: 930238.38683...@web51308.mail.re2.yahoo.com
: In-Reply-To: 930238.38683...@web51308.mail.re2.yahoo.com

http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists

When starting a new discussion on a mailing list, please do not reply to 
an existing message, instead start a fresh email.  Even if you change the 
subject line of your email, other mail headers still track which thread 
you replied to and your question is hidden in that thread and gets less 
attention.   It makes following discussions in the mailing list archives 
particularly difficult.



-Hoss


Re: limit the search results to one category

2010-12-14 Thread Ahmet Arslan
 I am using a dismax request handler with vrious fieds that
 it searches, but I 
 also want to enable the users to select a category from a
 drop-down list 
 and only get the results that belong to that category. It
 seems I can't use a 
 nested query with dismax as the first one and standard as
 the nested one? Is 
 there another way to do this?

Filter Queries? fq=category:foo

http://wiki.apache.org/solr/CommonQueryParameters#fq    





Re: limit the search results to one category

2010-12-14 Thread sara motahari
I guess so. I didn't know I could use it with dismax I'll try. thanks Ahmet.





From: Ahmet Arslan iori...@yahoo.com
To: solr-user@lucene.apache.org
Sent: Tue, December 14, 2010 5:42:51 PM
Subject: Re: limit the search results to one category

 I am using a dismax request handler with vrious fieds that
 it searches, but I 
 also want to enable the users to select a category from a
 drop-down list 
 and only get the results that belong to that category. It
 seems I can't use a 
 nested query with dismax as the first one and standard as
 the nested one? Is 
 there another way to do this?

Filter Queries? fq=category:foo

http://wiki.apache.org/solr/CommonQueryParameters#fq