Apache Solr for TYPO3 - Result Grouping:ref:
|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|
|License:||This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml|
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.
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