On Tue, Jun 9, 2009 at 4:03 PM, 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? > Not right now. There's an issue open: https://issues.apache.org/jira/browse/SOLR-1093 -- Regards, Shalin Shekhar Mangar.