Hello, i installing CirrusSearch extension to increase my search on wiki, but i need execute a script to finally instalation, but this script is for linux, and i'm installing on windows i need help with this, what i can make... Look down the original script.
export PROCS=5 #or whatever number you want rm -rf cirrus_scripts mkdir cirrus_scripts mkdir cirrus_log pushd cirrus_scripts php extensions/CirrusSearch/maintenance/forceSearchIndex.php --queue --maxJobs 10000 --pauseForJobs 1000 \ --forceUpdate --skipLinks --indexOnSkip --buildChunks 250000 | sed -e 's/$/ | tee -a cirrus_log/'$wiki'.parse.log/' | split -n r/$PROCS for script in x*; do sort -R $script > $script.sh && rm $script; done popd
Thnx to All.
Sorry about all the bash-isms in there. The less-crazy-bash way: php extensions\CirrusSearch\maintenance\forceSearchIndex.php --forceUpdate --skipLinks --indexOnSkip php extensions\CirrusSearch\maintenance\forceSearchIndex.php --forceUpdate --skipParse
Will those work for you?
Nik
On Mon, Mar 24, 2014 at 4:33 PM, Joaquim Oliveira joaquim@millgest.com.brwrote:
Hello, i installing CirrusSearch extension to increase my search on wiki, but i need execute a script to finally instalation, but this script is for linux, and i'm installing on windows i need help with this, what i can make... Look down the original script.
export PROCS=5 #or whatever number you want rm -rf cirrus_scripts mkdir cirrus_scripts mkdir cirrus_log pushd cirrus_scripts php extensions/CirrusSearch/maintenance/forceSearchIndex.php --queue --maxJobs 10000 --pauseForJobs 1000 \ --forceUpdate --skipLinks --indexOnSkip --buildChunks 250000 | sed -e 's/$/ | tee -a cirrus_log/'$wiki'.parse.log/' | split -n r/$PROCS for script in x*; do sort -R $script > $script.sh && rm $script; done popd
Thnx to All. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org