I am trying to implement a design where they want to fetch three nodes of each content type and if there are more nodes of that content type a "Show more" link should be display. Example)

MY CONTENT TYPE 1 Show more
Node1
Node2
Node3

MY CONTENT TYPE 2
Node4
Node5

MY CONTENT TYPE 3 Show more
Node 6
Node 7
Node 8

The facets and keyword form should be visible.

I've managed to create the listing by creating one query / content type. The problem is that the facets are based on the last search (filter:my_content_type_3).

Is this doable?

Comments

pwolanin’s picture

Status: Active » Fixed

Anything is possible, but you'd need to issue a separate query for each block. So, this would require custom coding.

Solr can no more do it in one query than you can do it in one query with SQL. Also, there are multiple sets of possible facets - the query for each block (with a different content type filter) would give you a different possible set of facets.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.