The expanded section will only include groups that have expanded documents.
So, if the document that in the main result set has no documents to expand, then this is working as expected. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Mar 30, 2015 at 8:43 PM, Derek Poh <d...@globalsources.com> wrote: > Hi > > I have a query which return 1 document. > When I add the collapse and expand parameters to it, > "&expand=true&expand.rows=5&fq={!collapse%20field=P_SupplierId}", the > expanded section is empty (<lst name="expanded"/>). > > Is this the behaviour of collapse and expand parameters on result which > contain only 1 document? > > -Derek > > >