[TYPO3] fe_groups crawler indexed_search

Charles Coleman c.coleman at rapidfyre.net
Mon Sep 3 07:01:41 CEST 2007


I found this useful info in the Typo3 WIKI...
http://wiki.typo3.org/index.php/Ext_crawler

Also, the crawler documentation says you should be able to specify a list of 
ids in the userGroups var. This is very misleading. It would seem intuitive 
to be able to specify all the groups in this one line, such as:

#set up a crawl for all users? NOPE.
tx_crawler.crawlerCfg.paramSets.grps < tx_crawler.crawlerCfg.paramSets.test
tx_crawler.crawlerCfg.paramSets.grps{
 userGroups = 1,2,3,4,5,6,7,8
}

One would assume that the crawler would index content for each group 
enabling any subset of those groups to search the content. This is not the 
case. One must specify a new tx_crawler.crawlerCfg.paramSets. object for 
each subset of groups. So if you have a user in groups 1,4,5 and another in 
groups 3,7,8 you would need to have this in your TSConfig (remember to add 0 
and -2 i.e. any login!):

#set up a crawl for users who have group id of 1,4,5
tx_crawler.crawlerCfg.paramSets.grp1 < tx_crawler.crawlerCfg.paramSets.test
tx_crawler.crawlerCfg.paramSets.grp1{
 userGroups = 0,-2,1,4,5
}

#set up a crawl for users who have group id of 3,7,8
tx_crawler.crawlerCfg.paramSets.grp2 < tx_crawler.crawlerCfg.paramSets.test
tx_crawler.crawlerCfg.paramSets.grp2{
 userGroups = 0,-2,3,7,8
}


"Tanja Pens" <tanja.pens at gmx.de> wrote in message 
news:mailman.1.1180947600.10613.typo3-english at lists.netfielders.de...
> Hi,
>
> has anyone already used the crawler to reindex content with about 15 
> fe_groups? Does it work? As I tested it still doesn't work. Do I have an 
> error in my configuration or is there an indexed_search problem?
>
> Configuration:
> Typo 4.1.1
> all extensions I use are the newest in TER.
>
> My Crawler config:
> tx_crawler.crawlerCfg.paramSets.all= &contentId=[_TABLE:tt_content]
> tx_crawler.crawlerCfg.paramSets.all{
> cHash = 1
> procInstrFilter = tx_indexedsearch_index,tx_indexedsearch_reindex, 
> tx_indexedsearch_crawler
> baseUrl = http://<IP>/
> userGroups = 3,0,-1,-2,2,4,5,6,7,8,9,10,11,13,16,17
> }
>
> Thanks for any help
>
> Tanja 



More information about the TYPO3-english mailing list