• [Plugin] Rebuild Search Index v1.0.1 4 0 5 1
Currently:  

Author Topic: [Plugin] Rebuild Search Index v1.0.1  (Read 73783 times)

0 Members and 1 Guest are viewing this topic.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
[Plugin] Rebuild Search Index v1.0.1
« on: July 19, 2002, 09:32:29 AM »
Rebuild Search Index (Suchindex neu erstellen)

Installation:

- Erstelle ein neues Verzeichnis plugins im admin Ordner
- Entpacke das zip und kopiere die Datei rebuild_searchindex.php in das neue plugins-Verzeichnis
- Logge Dich ins Control Panel ein, in der linken Navigation sollte eine neuer Menüpunkt erscheinen
- Draufklicken und Spass haben
---------------------------------------------------------------------------------
- Create a new directory called plugins in your admin-folder
- Extract the zip and copy the file rebuild_searchindex.php to the new plugins-directory
- Log in to your Control Panel, a new link should appear in the left navigation frame
- Click it an have fun

Download:See attachment below
« Last Edit: September 13, 2010, 02:14:52 AM by V@no »
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Jaap12

  • Full Member
  • ***
  • Posts: 108
    • View Profile
?
« Reply #1 on: July 20, 2002, 11:13:09 PM »
What are the features? Plz more info.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
[Plugin] Rebuild Search Index
« Reply #2 on: July 21, 2002, 09:17:35 AM »
4images do not search directly over the database, it uses a search index (see tables 4images_wordlist and 4images_wordmatch). With this script you can empty this search index and create a new one.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Mec4D

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
    • http://www.mec4d.com
[Plugin] Rebuild Search Index
« Reply #3 on: July 21, 2002, 03:13:23 PM »
That is great Jan,

thank you very much!
Catharina

Offline bernd

  • Full Member
  • ***
  • Posts: 214
    • View Profile
[Plugin] Rebuild Search Index
« Reply #4 on: January 27, 2003, 03:32:04 PM »
Jan,

Could I also empty those two tables via phpmyadmin and then with a click on this plug-in the search index will be rebuilt?

thanks,
Bernd

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Yep
« Reply #5 on: January 27, 2003, 05:14:45 PM »
Quote from: bernd
Could I also empty those two tables via phpmyadmin and then with a click on this plug-in the search index will be rebuilt?

I done that successfully myself.  It works.

Offline bernd

  • Full Member
  • ***
  • Posts: 214
    • View Profile
Re: Yep
« Reply #6 on: January 27, 2003, 08:26:44 PM »
Quote from: Chris
I done that successfully myself.  It works.

Thanks - worked here as well. This leads me to the conclusion that under specific circumstances Jan's script doesn't empty these two tables thouroughly! Maybe something to look into.

cheers,
Bernd
« Last Edit: March 09, 2005, 03:04:33 AM by Chris »

alinford

  • Guest
How do I know this worked?
« Reply #7 on: February 04, 2003, 01:55:26 AM »
I clicked the rebuild link and then waited, but I could not tell if anyting was happening.

Offline HamedF

  • Newbie
  • *
  • Posts: 17
    • View Profile
[Plugin] Rebuild Search Index
« Reply #8 on: June 01, 2003, 02:59:46 AM »
Hallo,

erstmal vielen Dank für dieses tolle Script.
Ich suche schon lange ein Programm um unsere Artikelbestände digitalisieren zu können ( Teppichhandel )

Leider habe ich aber Probleme bei reindexing... unter Win XP kommt wenn ich auf reindex clicke im adminbereich diese meldung :

atal error: Failed opening required './../admin/admin_global.php' (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\public\4images\admin\plugins\rebuild_searchindex.php on line 29

Woran kann das liegen ? Was mache ich falsch? Als ich das Script dann aber auf dem Webserver von Puretec installiert habe, ging alles ?

Ich benutze phpdev unter win XP

danke
Hamed

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
[Plugin] Rebuild Search Index
« Reply #9 on: June 02, 2003, 01:52:14 PM »
Versuche mal in der Datei
Code: [Select]
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../"
durch
Code: [Select]
$root_path = (eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "./../../" : "./../";
zu ersetzen.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline HamedF

  • Newbie
  • *
  • Posts: 17
    • View Profile
[Plugin] Rebuild Search Index
« Reply #10 on: June 02, 2003, 05:10:11 PM »
Jan, ich liebe dich *g*g*

Danke
Hamed

Offline HamedF

  • Newbie
  • *
  • Posts: 17
    • View Profile
[Plugin] Rebuild Search Index
« Reply #11 on: June 02, 2003, 05:18:27 PM »
Kleines Problem :

Das Script funktioniert zwar jetzt, es kommt immer diese Meldung :

Fulltext Indexing between ID 4850 and 4899:

        Click here to continue        
 



Aber im Endeffekt passiert nichts, denn die Suche ist immer noch erfolglos.

Woran kann das liegen ?

Ciao
Hamed

Offline HamedF

  • Newbie
  • *
  • Posts: 17
    • View Profile
[Plugin] Rebuild Search Index
« Reply #12 on: June 02, 2003, 05:23:07 PM »
:-)))

Sorry, hat doch geklappt :-)

Jetzt noch meine letzte Frage :

Ich habe viele "images" in der Datenbank, zu denen aber noch kein Foto fertig ist.
Ich hab dann einfach in MySQL als Image Name die Image ID.jpg angebeben.

Kann ich, wenn ich das Foto gemacht habe, einfach die Datei in den data ordner legen ? Ich habe das nämlich gemacht, aber das Ausrufezeichen bleibt hinter dem Bildnamen im Admin Bereich und das Bild wird nicht angezeigt.

Wie kann ich praktisch ein Reindexing der Bilder an sich machen ?


Danke

PS. Kann ich das so machen, dass er mir nur die Bilder ausgibt, zu denen es wirklich auch Bilder gibt?

Danke Danke

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
[Plugin] Rebuild Search Index
« Reply #13 on: June 03, 2003, 02:47:48 PM »
Eigntlich sollte das funktionieren wenn das Bild wirklich im richtige Kategorieordner im data Verzeichnis liegt.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline skunk

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: [Plugin] Rebuild Search Index
« Reply #14 on: August 14, 2007, 02:05:34 PM »
Jan, thanks alot.. thats exactly what i was looking for;)