lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Multiple groups of boolean queries in a single query.
Date Mon, 01 Jul 2013 10:45:42 GMT
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.



On Mon, Jul 1, 2013 at 6:06 AM, samabhiK <> 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:
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message