Have you tried the query you indicated? Because it should "just work" barring syntax errors. The only other thing you might want is to turn on grouping by field type. That'll return separate sections by type, say the top 3 (default 1) documents in each type. If you don't group, you have the possibility that your entire results (i.e. the number of docs in the &rows parameter) will be all one type.
see: http://wiki.apache.org/solr/FieldCollapsing Best Erick On Mon, Jul 1, 2013 at 6:06 AM, samabhiK <qed...@gmail.com> wrote: > My entire concern is to be able to make a single query to fetch all the > types > of records. If I had to create three different cores for this different > types of data, I would have to make 3 calls to solr to fetch the entire set > of data. And I will be having approx 15 such types in real. > > Also, at any given record, either the section 1 fields are filled up or > section 2's or section 3's. At no point, will we have all these fields > populated in a single record. Only field that will have data for all > records > is xyz_category to allow us to partition the data set. > > Any suggestions in writing a single query to fetch all the data we need > will > be highly appreciated. > > Thanks. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Multiple-groups-of-boolean-queries-in-a-single-query-tp4074294p4074296.html > Sent from the Solr - User mailing list archive at Nabble.com. >