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 revision Previous revision
Next revision
Previous revision
faq:searchindex [2011-05-07 01:14]
ach fixed link to tpl_indexerWebBug()
faq:searchindex [2015-07-21 23:48] (current)
162.93.80.1
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/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%%'' 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.
faq/searchindex.1304723689.txt.gz · Last modified: 2011-05-07 01:14 by ach