Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions config/sites/solr-testsystem/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,23 @@ solr_host_read: solr-site
solr_port_read: 8983
solr_path_read: /
solr_use_write_connection: false
# Configuration for the route enhancer
routeEnhancers:
Products:
type: SolrFacetMaskAndCombineEnhancer
limitToPages:
- 9
extensionKey: tx_solr
solr:
replaceCharacters:
- ' ': '_'
query:
mask: true
concat: true
map:
taste: taste
routePath: '/{sweet}'
_arguments:
sweet: filter-sweet
requirements:
sweet: '.*'
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,41 @@
@import 'EXT:solr/Configuration/TypoScript/Examples/EverythingOn/setup.typoscript'
@import 'EXT:solr/Configuration/TypoScript/Examples/Suggest/setup.typoscript'


plugin.tx_solr.logging.debugOutput = 0

#
# Configure categories as facets in order to show the functionality of the route enhancer
plugin.tx_solr {
index.queue {
pages {
fields {
sweets_stringM = SOLR_RELATION
sweets_stringM {
localField = categories
relationTableSortingField = sorting
multiValue = 1
additionalWhereClause = parent=10
}
taste_stringM = SOLR_RELATION
taste_stringM {
localField = categories
relationTableSortingField = sorting
multiValue = 1
additionalWhereClause = parent=6
}
}
}
}
search.faceting.facets {
sweet {
label = Sweets
field = sweets_stringM
operator = AND
}
taste {
label = Taste
field = taste_stringM
operator = OR
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,3 @@
@import 'EXT:bootstrap_package/Configuration/TypoScript/Bootstrap3/setup.typoscript'

@import './Extensions/solr/setup.typoscript'



Loading