DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:searchindex

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:searchindex [2014-01-29 08:43] – [Buttons don't do anything] 77.8.94.18plugin:searchindex [2024-02-08 09:05] (current) LMS23
Line 6: Line 6:
 email      : andi@splitbrain.org email      : andi@splitbrain.org
 type       : admin type       : admin
-lastupdate : 2012-03-02 +lastupdate : 2020-06-21 
-compatible : 2009-12-25anteaterrincewindadora belle, Weatherwax, Binky+compatible : LemmingAnteaterRincewindAngua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum, Kaos
 depends    :  depends    : 
 conflicts  conflicts 
Line 20: Line 20:
  
 This [[devel:Admin Plugins|admin plugin]] allows you to rebuild the index used by the fulltext search. This isn’t needed generally as the index builds and updates itself while users browse your wiki. However if you just upgraded, added or removed a lot of files it may be a good idea to cleanup the index. This [[devel:Admin Plugins|admin plugin]] allows you to rebuild the index used by the fulltext search. This isn’t needed generally as the index builds and updates itself while users browse your wiki. However if you just upgraded, added or removed a lot of files it may be a good idea to cleanup the index.
 +
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the URL given above. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ==== Changes ==== ==== Changes ====
Line 34: Line 35:
 During the process a status of the current activity will be shown. During the process a status of the current activity will be shown.
  
-===== Language Files ===== +===== Notes =====
- +
-==== German Language file ==== +
- +
-Updated version of the german language file (for version 2012-03-02). Save it to lib/plugins/searchindex/lang/de/lang.php +
- +
-<file php lang.php> +
-<?php +
-/** +
- * german language file +
- */ +
- +
-$lang['menu'] = 'Suchindex Manager'; +
- +
-$lang['update'] = 'Index aktualisieren'; +
-$lang['update_tip'] = 'Suchindex nur aktualisieren (normalerweise schneller)'; +
-$lang['rebuild'] = 'Index neu aufbauen'; +
-$lang['rebuild_tip'] = 'Index löschen und komplett neu aufbauen'; +
- +
-$lang['js']['indexing'] = 'Indiziere jetzt:'; +
-$lang['js']['done'    = 'Index neu aufgebaut.'; +
-$lang['js']['pages'   = '%d Seiten gefunden.'; +
-$lang['js']['clearing'] = 'Index löschen...'; +
-$lang['js']['finding' = 'Suche Seiten...'; +
-$lang['js']['notindexed' = 'Übersprungen: Ist bereits aktuell'; +
-$lang['js']['indexed'    = 'Aktualisiert'; +
- +
- +
-//Setup VIM: ex: et ts=4 enc=utf-8 : +
-</file> +
- +
- --- [[user>cziehr|cziehr]] //2012/10/21 20:46// +
- +
-==== Korean language file ==== +
- +
-unzip and put them to lib/plugins/searchindex/lang/ko/ +
- +
-[[http://blog.vaslor.net/attachment/cfile25.uf@015AA64351E89D24280009.zip|ko.zip]] +
- +
- --- [[user>goldseed|S.C. Yoo]] //2013/07/19 03:59// +
-===== Errors ===== +
- +
-I encountered the following error on a local XAMPP-installation in Windows 7: +
- +
-I have two completely seperated wiki-installations in the htdocs-directory. When I try to rebuild the index in the second installation, it rebuilds the index of the first one. +
- +
-I was able to solve the problem by setting the "basedir"- and "baseurl"-options manually. Maybe this helps someone. +
- +
- --- [[user>cziehr|cziehr]] //2012/05/28 19:00// +
- +
-Tnx so much! Confirmed! However, for a local installation using QuickPHP, setting "baseurl" was enough. Cause: QuickPHP by default set the port to 5723 instead of 80. Apparently, this requires the "baseurl" to be set manually. In my case: %%http://127.0.0.1:5723/dokuwiki%% +
- +
- --- Johan //2012/09/17 23:00// +
- +
-I have had not-updated plugins: fontcolor, fontsize and gallery. My bad, I updated it simultaneously. One of it conflicted with searchindex plugin and pressing "rebuild index" and "update index" didn't do anything. After updating via plugin manager everything is OK. Release Weatherwax. +
- +
- --- Dennis //2013/05/12 23:43// +
- +
-I installed the new version (2013-03-24) on Release 2013-05-10 "Weatherwax". But the buttons doesn´t start any action. I tested another installation at a different server. But the same problem. The same with different browser. +
- +
- --- Thore //2013/07/25 17:23// +
- +
-Had the same problem. Disappeared when I switched off the "encryptedpasswords" plugin. Maybe you also have plugins that interact badly. Try to switch off all plugins except the searchindex plugin before rebuilding the index.  +
- +
- --- Guido //2013/07/26 14:32// +
- +
-Just like Thore and Guido, I had the same problem with the plugin, disable all plugins excep authplain or what ever plugin authentication method you use! Otherwise you won't be able to login again!! Or enable plugins back by editing plugins.local.php under conf dir. +
- +
- --- Guirao //2013/08/14 14:32// +
- +
-I solved the same issue by removing an old version of the [[/plugin:cellbg|cellbg plugin]] and installing the latest version. +
- +
- --- [[user>Jeroen|Jeroen]] //2013/10/15 14:17// +
- +
-Great! Thanks! +
- +
- --- [[user>Com In]] //2014/01/14 // +
- +
-==== Indexing stops after 43rd page ==== +
- +
-This is not a problem with the plugin itself, but I spent a great deal of time trying to figure out what was going on, so I thought I would document it here and hopefully help someone else out. The problem was the index would just stop after the 43rd page. I tried IE, Firefox and Chrome - same result. Rebuilding or updating - same result. I tried deleting the page it got stuck on, and the indexing would just get stuck on the next one.  +
- +
-Very long story short - the problem was not the plugin, but the hosting (GoDaddy). It seems that 43 HTTP posts within a short period of time triggers some sort of rate limiting (presumably to prevent DOS attacks). After that, all requests to the entire site (not just the wiki) come back with no data. This lasts for about a minute or so. My solution was to modify the plugin to add a 5 second delay after each request. Obviously, this makes things take much longer, but it is still better than trying to do it manually. +
- +
-==== Buttons don't do anything ==== +
- +
-I just installed the Plugin, everything seems OK, but when I press either the 'Index neu aufbauen' or the 'Index aktualisieren' button, just nothing happens. No confirmation, no error message, no status of the current activity. This normal? +
-DokuWiki Binky [43] on Ubuntu 12.04 +
- --- [[user>franc|franc]] //2014-01-21 15:08// +
- +
-Just save the Config-Page once. After that the index rebuild should work. At least that did it for me. +
- --- [[Dean]] //2014-01-23 14:33//+
  
-Nothis didn'change anything. Could there be some log entry for this plugins error? There must be some errorsI guess +If you click the button and nothing happens, change the language to EN (English)and it should work.
- --- [[user>franc|franc]] //2014-01-25 00:05//+
  
-Is there really no logfile? Even the "normal" indexing does not work. Since more than week I don't find a special word in an article I wrote, which means, that the index is not actual. Where can I find this kind of logs? Someone knows this? 
- --- [[user>franc|franc]] //2014-01-29 08:43// 
plugin/searchindex.1390981429.txt.gz · Last modified: 2014-01-29 08:43 by 77.8.94.18

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki