Apache Solr for TYPO3 - Result Grouping:ref:

Classification:solr
Version:0.0.0
Language:en
Description:Apache Solr for TYPO3 - Result Grouping allows grouping of documents sharing a common field. For each group the most relevant documents are returned.
Keywords:search, full text, index, solr, lucene, fast, query, results, grouping, field group, query group
Copyright:2009-2015
Author:Ingo Renner
Email:ingo@typo3.org
License:This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml
Rendered:2016-12-16 15:00

The content of this document is related to TYPO3, a GNU/GPL CMS/Framework available from typo3.org.

Table of Contents

What does it do?

The result grouping add-on for the TYPO3 solr extension can be used to split the result set from Solr into groups.

An example could be, that you index pages, products, and news and want show the results grouped by the type.

Note

Due to technical limitations, when using grouping the page browser and results per page switch are disabled. So you usually want to use grouping for a first overview page of result groups. (The technical issue is that Solr is using the same parameter to define how many groups to return as it uses for pagination)

Before you start

Make sure your solr extension is configured to index everything you need

  • EXT:solr is installed
  • TypoScript template is included and solr endpoint is configured
  • TYPO3 domain record exists
  • Solr sites are initialized through "Initialize Solr connections"
  • Solr checks in the reports module are green

If you run into any issues with setting up the base EXT:solr extension, please consult the documentation. Also please don't hesitate to ask for help on the TYPO3 Solr Slack channel