Skip to content

Instantly share code, notes, and snippets.

@peterkraume
Created July 12, 2013 08:56
Show Gist options
  • Save peterkraume/5982938 to your computer and use it in GitHub Desktop.
Save peterkraume/5982938 to your computer and use it in GitHub Desktop.
If you want to limit the available options for a specific facet, you can do this with a queryGroup. In this example I've limited the available categories. This example is meant for TYPO3 and EXT:solr
plugin.tx_solr {
search {
faceting {
facets {
main {
label = Category
field = category_stringM
type = queryGroup
queryGroup {
cat1 {
query = cat1
}
cat42 {
query = cat42
}
cat999 {
query = cat999
}
}
}
}
}
}
}
@peterkraume
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment