I don't know if I follow you correctly, but you are saying that you want X
results per type?
So you do something like limit=X and query = type:Y etc. and merge the
results?
- Aleks
On Tue, 09 Jun 2009 12:33:21 +0200, Avlesh Singh <avl...@gmail.com> wrote:
I have an index with two fields - name and type. I need to perform a
search
on the name field so that *equal number of results are fetched for each
type
*.
Currently, I am achieving this by firing multiple queries with a
different
type and then merging the results.
In my database driven version, I used to do a "union" of multiple queries
(and not separate SQL queries) to achieve this.
Can Solr do something similar? If not, can this be a possible
enhancement?
Cheers
Avlesh
--
Aleksander M. Stensby
Lead software developer and system architect
Integrasco A/S
www.integrasco.no
http://twitter.com/Integrasco
Please consider the environment before printing all or any of this e-mail