[BETA] Rebuild Search Mod

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
alwhipp
Registered User
Posts: 17
Joined: Tue Apr 12, 2005 2:05 am
Location: BNE
Contact:

Post by alwhipp »

Don't worry bout answering that one.
Changed the includes/functions_search.php to trim out most of the regedit stuff.
Worked fine then.
:D
--
Al

The problem with defending the purity of the English language is that English is about as pure as a cribhouse wh0re. We don't just borrow words; on occasion, English has pursued other languages down alleyways to beat them unconscious and rifle their pockets for new vocabulary. James D. Nicoll
ratlhead
Registered User
Posts: 69
Joined: Thu Apr 11, 2002 10:52 pm
Location: San Jose, CA
Contact:

Post by ratlhead »

And 14.5 hours later, 560,000 posts are reindexed for the search. Great mod!
grin_king
Registered User
Posts: 5
Joined: Sun May 11, 2003 8:38 pm

Post by grin_king »

ratlhead wrote: And 14.5 hours later, 560,000 posts are reindexed for the search. Great mod!


Just to clarify - WHICH MOD is it you used - the one this Topic was started for... or the one from the German site ??

Just wondering, as I help run a forum with over 1 mill posts, and i've as yet been unable to get the rebuild to make it past 20%, and the time it takes to get to that 20% indicates it will take a good 3 full days to get to 100%...

Any suggestions to help make it past the 20% mark would be very much appreciated ;)
Peter VDD
Registered User
Posts: 140
Joined: Sun Oct 12, 2003 12:18 pm
Contact:

Post by Peter VDD »

Sorry for my a-little-bit-off-topic question, but just by curiosity:

is it "necessary" to split in pages? Could you hypothetically just start with set_time_limit(0); and then run the entire script?

Or does this give other problems besides not seeing the progress?
Francisco.phpBB
Registered User
Posts: 235
Joined: Fri Dec 03, 2004 2:21 pm
Location: ßrazil (UTC -3)

Re: [BETA] Rebuild Search Mod

Post by Francisco.phpBB »

GUI wrote: This will index every post in your phpBB, rebuilding the search tables.


Please, what search tables?

phpbb_search_results?
phpbb_search_wordlist?
phpbb_search_wordmatch?
Peter VDD
Registered User
Posts: 140
Joined: Sun Oct 12, 2003 12:18 pm
Contact:

Re: [BETA] Rebuild Search Mod

Post by Peter VDD »

Francisco.phpBB wrote:
GUI wrote:This will index every post in your phpBB, rebuilding the search tables.


Please, what search tables?

phpbb_search_results?
phpbb_search_wordlist?
phpbb_search_wordmatch?

list and match.

there is nothing to rebuild in results, that's a temporary table ;)
Francisco.phpBB
Registered User
Posts: 235
Joined: Fri Dec 03, 2004 2:21 pm
Location: ßrazil (UTC -3)

Post by Francisco.phpBB »

Thank you Peter.

I am trying to execute the script by following command:
http://www.mysite.com/phpbb/admin/admin ... search.php

but I receive the message:
Notice: Undefined index: time_limit in ...phpbb\admin\admin_rebuild_search.php on line 15
Preseren
Registered User
Posts: 14
Joined: Thu Feb 17, 2005 5:10 pm

Post by Preseren »

Hy all...

m trying this MOD for last two days and all i get is 0% all the time...
I left it running for a half of hour, I know, taht it takes a lot of time, bus my forum is new and has only 200 posts, so this should be go to 1% within half an hour am I regit? Why is that?
I tried also the manage the database MOD that was posted in this topis, and I get an interneal server error when running the search rebuild there....

Any idea*?

Thanks

P.
Francisco.phpBB
Registered User
Posts: 235
Joined: Fri Dec 03, 2004 2:21 pm
Location: ßrazil (UTC -3)

Post by Francisco.phpBB »

Francisco.phpBB wrote: Thank you Peter.

I am trying to execute the script by following command:
http://www.mysite.com/phpbb/admin/admin ... search.php

but I receive the message:
Notice: Undefined index: time_limit in ...phpbb\admin\admin_rebuild_search.php on line 15


Anybody, we can help me?

Francisco
Preseren
Registered User
Posts: 14
Joined: Thu Feb 17, 2005 5:10 pm

Post by Preseren »

go to the admin panel and run it from there....
I needed a half an hour to figure out this ;)

P.
Francisco.phpBB
Registered User
Posts: 235
Joined: Fri Dec 03, 2004 2:21 pm
Location: ßrazil (UTC -3)

Post by Francisco.phpBB »

Preseren wrote: go to the admin panel and run it from there....


But, this MOD it did not alter the admin panel!
It did not appear in admin panel!
How can I do?

Francisco
Preseren
Registered User
Posts: 14
Joined: Thu Feb 17, 2005 5:10 pm

Post by Preseren »

well have no idea why not. U sure you changed all the files that you need to change?
I have a nice looking new option in my admin section...

P.
Francisco.phpBB
Registered User
Posts: 235
Joined: Fri Dec 03, 2004 2:21 pm
Location: ßrazil (UTC -3)

Post by Francisco.phpBB »

Rebuild Search Mod wrote: ## EasyMod 0.0.7 compliant
##############################################################
## Mod Title: Rebuild Search Mod
## Mod Version: 1.0.0
## Mod Author: GUI < spam@nickm.org > (Nick Muerdter) http://www.nickm.org/
## Mod Description: This will index every post in your
## phpBB, rebuilding the search tables.
##
## Installation Level: Easy
## Installation Time: ~1 Minute
## Files To Edit: n/a
## Includes Files: admin/admin_rebuild_search.php
## language/lang_english/lang_admin_rebuild_search.php
## templates/subSilver/admin/rebuild_search.tpl
## templates/subSilver/admin/rebuild_search_progress.tpl
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Author Notes:
##
##############################################################
## Changelog:
##
## 1.0.0 (03-10-03)
## - Initial Release.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ COPY ]------------------------------------------
#
admin/admin_rebuild_search.php to admin/admin_rebuild_search.php


#
#-----[ COPY ]------------------------------------------
#
language/lang_english/lang_admin_rebuild_search.php to language/lang_english/lang_admin_rebuild_search.php


#
#-----[ COPY ]------------------------------------------
#
templates/subSilver/admin/rebuild_search.tpl to templates/subSilver/admin/rebuild_search.tpl


#
#-----[ COPY ]------------------------------------------
#
templates/subSilver/admin/rebuild_search_progress.tpl to templates/subSilver/admin/rebuild_search_progress.tpl


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


This it is the installation procedure from MOD.
You can see, there it has not change in admin panel.

Francisco
discobiscuit
Registered User
Posts: 2
Joined: Fri Jun 03, 2005 6:05 pm

Post by discobiscuit »

Francisco.phpBB wrote: #-----[ COPY ]------------------------------------------
#
admin/admin_rebuild_search.php to admin/admin_rebuild_search.php

[...]

This it is the installation procedure from MOD.
You can see, there it has not change in admin panel.


The admin control panel checks the admin directory for any php files that are properly configured to be admin tools, so it would automatically show up in your admin panel if you copied it to the admin directory.

For me, it shows up as "Rebuild Search" in the General Admin section of the admin control panel.
Francisco.phpBB
Registered User
Posts: 235
Joined: Fri Dec 03, 2004 2:21 pm
Location: ßrazil (UTC -3)

Post by Francisco.phpBB »

discobiscuit wrote: For me, it shows up as "Rebuild Search" in the General Admin section of the admin control panel.


You are correct. Will be that I am blind? Now I found, but a new enigma appeared. What means this message that not change from 0%? The program it refresh at each 3 seconds, but appears to be in looping. What will be happening?

Image
Post Reply

Return to “[2.0.x] MODs in Development”