DokuWiki

It's better when it's simple

User Tools

Site Tools


faq: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
faq:searchindex [2011-05-07 01:14] – fixed link to tpl_indexerWebBug() achfaq:searchindex [2022-10-20 18:23] (current) Klap-in
Line 7: Line 7:
 To make sure the index cannot be corrupted, it is automatically locked when a page is indexed. This means only one page at a time is added to the index. On busy wikis this may cause the index to be slightly delayed behind the updates. So you just need to wait a while and your wiki should be indexed while users browse the pages. To make sure the index cannot be corrupted, it is automatically locked when a page is indexed. This means only one page at a time is added to the index. On busy wikis this may cause the index to be slightly delayed behind the updates. So you just need to wait a while and your wiki should be indexed while users browse the pages.
  
-The indexing process is triggered by a small image embedded in the template which will call the indexing script. If you use a third party template, the template developer might have forgotten to add this "webbug" in the template. You should check your [[devel:templates:main.php]] template for the existance of the [[xref>tpl_indexerWebBug()]] function.+The indexing process is triggered by a small image embedded in the template which will call the indexing script. If you use a third party template, the template developer might have forgotten to add this "webbug" in the template. You should check your [[devel:templates:main.php]] template for the existence of the [[xref>tpl_indexerWebBug()]] function.
  
-If you are sure the webbug is called, but still no search results are returned you should check for a possible error by calling ''%%http://yourwiki.com/dokuwiki/lib/exe/indexer.php?id=wiki:syntax%%'' (or often better with a debug parameter: ''%%http://yourwiki.com/dokuwiki/lib/exe/indexer.php?id=wiki:syntax&debug=1%%''). If everything is correct a 1x1 pixel transparent GIF image should be returned.+There are also some ad blockers that block the indexer webbug in the assumption that it is used in order to track visitors and thus prevent DokuWiki from updating the search index. DokuWiki does not use the webbug in any way to track visitors. 
 + 
 +If you are sure the webbug is called, but still no search results are returned you should check for a possible error by calling ''%%http://yourwiki.com/dokuwiki/lib/exe/taskrunner.php?id=wiki:syntax%%'' (or often better with a debug parameter: ''%%http://yourwiki.com/dokuwiki/lib/exe/taskrunner.php?id=wiki:syntax&debug=1%%'' after enabling [[config:allowdebug|debugging]]). If everything is correct a 1x1 pixel transparent GIF image should be returned.
  
 If you are using Microsoft IIS with PHP as CGI you need to enable the [[:config:broken_iua]] option or the indexing process will not work. If you are using Microsoft IIS with PHP as CGI you need to enable the [[:config:broken_iua]] option or the indexing process will not work.
  
-Sometimes it may be necessary to build the index manually. Eg. if you copied many pages to the data directory. You can do so with the [[:cli#indexer.php]] commandline script or the [[plugin:searchindex]] plugin.+Sometimes it may be necessary to build the index manually. Eg. if you copied many pages to the data directory. You can do so with the bin/[[:cli#indexer.php]] commandline script or the [[plugin:searchindex]] plugin.
  
faq/searchindex.1304723689.txt.gz · Last modified: 2011-05-07 01:14 by ach

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