[TYPO3-dev] indexed_search and usergroups
Stefan Frömken
firma at sfroemken.de
Thu Oct 21 15:41:25 CEST 2010
Am 21.10.2010 14:25, schrieb Dmitry Dulepov:
> Hi!
>
> Stefan Frömken wrote:
>> my current problem:
>> I was logged in as a frontenduser and searchresults displays me content
>> of pages which have restrictions only. I don't get results of normal pages.
>
> Missing 0,-2 in the group lists?
>
Hello Dmitry,
ou ou ou ...there are many things missing in documentation or I don't
understand background processes.
First I tried to do following:
Command: /usr/local/bin/php5 typo3cms/ebsinkjet/typo3/cli_dispatch.phpsh
crawler_im 1 -d 99 -o queue -conf
pagetree,feuser-level0,feuser-level1,feuser-level2
Results in: It seem's to be working. I got 271 records in
tx_crawler_queue table
But searchresults don't work.
Then I have found out, that I only get english searchresults if I have
changed language to english. Else with polish and german. Good to know.
But my problem is the same.
Next test:
I seperated the commands:
Command: /usr/local/bin/php5 typo3cms/ebsinkjet/typo3/cli_dispatch.phpsh
crawler_im 1 -d 99 -o queue -conf pagetree
Command: /usr/local/bin/php5 typo3cms/ebsinkjet/typo3/cli_dispatch.phpsh
crawler_im 1 -d 99 -o queue -conf feuser-level0
Command: /usr/local/bin/php5 typo3cms/ebsinkjet/typo3/cli_dispatch.phpsh
crawler_im 1 -d 99 -o queue -conf feuser-level1
Command: /usr/local/bin/php5 typo3cms/ebsinkjet/typo3/cli_dispatch.phpsh
crawler_im 1 -d 99 -o queue -conf feuser-level2
Results in: Now I have 720 entries in tx_crawler_queue
Then I run:
Command: /usr/local/bin/php5 typo3cms/ebsinkjet/typo3/cli_dispatch.phpsh
crawler
Results in: I found some entries, but not all. After running same
command again, I get some more entries. So I found out that there must
be a limitation. This is set to 100.
Next test:
Command: /usr/local/bin/php5 typo3cms/ebsinkjet/typo3/cli_dispatch.phpsh
crawler --countInARun 1000
After 4 and a half Minutes later I have over 4.000 entries in
index_words table. In menuentry Info site crawler I can see the current
process of crawling. Really good. THX.
Selectbox: indexed_search is now correct. I see many entries with grlist:
0,-2
0,-2,1,2,21
0,-2,1,21
0,-2,21
Now I also find normal pages as registered member.
Thank you for your help.
Stefan
Additional info:
When you have TSconfig AND site crawler configuration records with the
same title, then the record will overwrite entries in TSconfig. So...if
you have defined userGroups in TSconfig and no groups in record, then
all pages will be crawled with grlist: 0,-1. So you have to delete all
records before proceed.
Is there someone who will update/correct indexed_search/crawler till
4.5.0? As I tested site crawler configuration is useless. And without
these records you can't use scheduler extension.
More information about the TYPO3-dev
mailing list