4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Plugins => Topic started by: Jan 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
-
What are the features? Plz more info.
-
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
-
That is great Jan,
thank you very much!
-
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
-
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.
-
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
-
I clicked the rebuild link and then waited, but I could not tell if anyting was happening.
-
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
-
Versuche mal in der Datei
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../"
durch
$root_path = (eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "./../../" : "./../";
zu ersetzen.
Jan
-
Jan, ich liebe dich *g*g*
Danke
Hamed
-
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
-
:-)))
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
-
Eigntlich sollte das funktionieren wenn das Bild wirklich im richtige Kategorieordner im data Verzeichnis liegt.
Jan
-
Jan, thanks alot.. thats exactly what i was looking for;)
-
Hallo, ich weiß, das Thema ist schon ein bisschen älter, aber ich würde das gerne auch bei mir einbauen. Allerdings kann ich die Datei nicht finden, da sie nict (mehr?) als Attechment angehängt ist. Wäre es möglich, das entweder nochmal zu machen, oder mir eine PN zu schreiben, wo die Datei drin ist?
-
H
...Allerdings kann ich die Datei nicht finden, da sie nict (mehr?) als Attechment angehängt ist. Wäre es möglich, ...
die datei ist noch vorhanden, schau mal genau im ersten post ganz unten.
mfg Andi
-
Okay, ich bin mir ziemlich sicher, das sie mir eben nicht angezegt wurde... komisch... soooo blind kann ich doch gar nicht sein.
Naja, danke auf jeden Fall fürs drauf aufmerksam machen
-
Hi,
ich nutze Ravennuke 2. 4 und habe versucht das Script hier ans Laufen zu bekommen. Leider erscheint im ACP kein neuer Link zum Rebuild.
Ne Idee, warum?
Gruß
Thomas
-
Hi!
...Ne Idee, warum?....
und du hast es auch nach admin/plugins kopiert?
mfg Andi
-
Ich habe das Plugin installiert und laufen lassen.
Leider funktioniert meine Suche immer noch nicht :-(
Die Bilder in dieser Kategorie sind alle mit IPTC Infos versehen : xxx: xxx: sportfoto-stuttgart. de/categories. php?cat_id=23
unter anderem überall "Kickers", aber in der Suche finde ich nichts :-(
-
how to "Ignored" some "character" for example (-), (&), and (_), and number when create keyword from image name?
-
how to "Ignored" some "character" for example (-), (&), and (_), and number when create keyword from image name?
http://www.4homepages.de/forum/index.php?topic=29651.0