Beginning with SourceForge 4.3 SP1, a utility is included to rebuild the search indexes. This can be done without stopping SourceForge , but any new objects created during this time will not be immediately indexed, but will be queued until after the re-indexing.
touch /usr/local/sourceforge/var/searchIndexes/LOCK_INDEXES
/usr/local/sourceforge/sourceforge_home/bin/sourceforge-standalone-init.sh stop
/bin/rm /usr/local/sourceforge/var/searchIndex/*
/usr/local/sourceforge/sourceforge_home/bin/sourceforge-standalone-init.sh start
/usr/local/sourceforge/sourceforge_home/bin/SearchReindex.sh
After the script completes, everything is queued for reindexing. It will take some time to process the reindex requests. Note: Please see the KB article titled: Alternative Search Index Tool for more information.