Why facetStage at last?

In Chapter 2: User-Facing Backend, for the ticket Faceted Search, the correct order is

  1. skipStage
  2. limitStage
  3. facetStage

If facetStage is at last, how does paging happens in facets?

1 Like

Hi Sudeep,
The objective is to implement facets on the results returned for a particular page.
Hence we aren’t going to paginate the results returned by facets. Therefore the skip and limit stages are at their correct place.

If you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.