http://people.apache.org/~hossman/#solr-dev
Please Use "solr-u...@lucene" Not "solr-...@lucene"

Your question is better suited for the solr-u...@lucene mailing list ...
not the solr-...@lucene list.  solr-dev is for discussing development of
the internals of the Solr application ... it is *not* the appropriate
place to ask questions about how to use Solr (or write Solr plugins) 
when developing your own applications.  Please resend your message to
the solr-user mailing list, where you are likely to get more/better
responses since that list also has a larger number of subscribers.



: Date: Fri, 6 Nov 2009 13:03:03 +0800
: From: Tang Minzhi <minzhit...@ethos.com.cn>
: Reply-To: solr-dev@lucene.apache.org
: To: "solr-dev@lucene.apache.org" <solr-dev@lucene.apache.org>
: Subject: union functionality?
: 
: Hey everyone,
: 
: I'm newbie to solr.
: 
: I have a question below:
: Assume that I have the fields 'item_name' and 'category_name', like
: item_name | category_name
: apple             fruit
: orange          fruit
: rice                grain
: corn              grain
: strawberry    fruit
: beef              meat
: ....
: 
: I want to fetch the result set of "top 2 item of each categories I specified 
(might be 2 of them 'fruit', 'grain')" at one time, instead of fetch them 
through several requests, is it possible with solr?
: 
: It seems that in mysql database, there's union functionality which can 
combine several request queries together, so how about solr?
: 
: Thanks.
: 
: Best regards,
: --------------------------------
: Minzhi Tang
: Skype: minzhitang
: MSN: tmin...@hotmail.com



-Hoss

Reply via email to