Created
July 12, 2013 08:56
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugin.tx_solr { | |
search { | |
faceting { | |
facets { | |
main { | |
label = Category | |
field = category_stringM | |
type = queryGroup | |
queryGroup { | |
cat1 { | |
query = cat1 | |
} | |
cat42 { | |
query = cat42 | |
} | |
cat999 { | |
query = cat999 | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Further documentation can be found here:
http://forge.typo3.org/projects/extension-solr/wiki/Tx_solrsearch#facetingfacetsfacetNametype