There is a multidomain setup (domains next to each other on the same level), each domain has their own search page and configuration. I've tried...
plugin.tx_indexedsearch.settings.rootPidList = 3
...to get the search results limited to the domains pagetree only. But as soon as using rootPidList, there are no results at all any more. Then i've tried...
plugin.tx_indexedsearch.settings.defaultOptions.sections = rl1_3
...and this seems to work correctly to limit the results to the pagetree (below page id 3).
So what is "rootPidList" ment to be used for?
According to the comment in the code (typo3/sysext/indexed_search/Classes/Controller/SearchController.php, Line 232):
In a multi domain setup we have set
rootPidListto the overall root page (in this case id=457).defaultOptions.sectionsis set like this:defaultOptions.sections=rl{$customer_theme.search.level}_{$customer_theme.root}{$customer_theme.search.level}is set to 1 or 2 depending on the availability of more than one language per country.{$customer_theme.root}is the root page (marked by the root page flag).e.g. for Indonesia (english) we use level = 2 and root = 12947.