Gravatar for

Question by ncipollina, Jul 8, 2016 8:52 AM

How can I implement GroupBy Functionality

Based on the documentation, it looks like the Coveo JS Framework supports GroupBy queries. My question is how do I actually implement the display of the results. We are in the processing of converting from Lucene to Coveo and we have a page that currently renders results of a particular type grouped by the date. We have events that occur on a given date and we show the date then all of the events for that date are shown beneath. In this forum post, the suggestion is to use folding to represent the parent child relationship. In my example, there is not parent/child, just a true groupBy. Is there someway I can use ResultsList to render the groups or do I not need groupBy at all and just use folding on my results? Any help would be appreciated.

Thanks in advance, Nick

0 Reply
Ask a question