In my search results I'm interested in showing two content types: Pages and 1 of my Collections. They will appear in separate areas of the page, which I'm thinking I can achieve through the template. I also need to show the combined total number of results returned. To implement, I'm considering a couple options.

  1. Use default search index. I've been working on this, but having trouble excluding everything but pages and the collection I'm interested in. Is is possible to return just these items, and the total count returned accurately?

  2. Option 2 would be returning two sets of results: One for my collection. One for my pages. Then aggregate the total number returned.

Option 1 seems the most straightforward if it's possible to selectively prune the default search index...or build a new index based on what i need.

Answered by Adam Chlan! Go to answer.