User Tools

    ~~ RM: keiner ~~ UI: ---start--- ~~ IP:3.138.34.75~~

Site Tools


Differences

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

Link to this comparison view

Next revision
Previous revision
en:wiki:search [2013/03/03 18:43] – created MWankeen:wiki:search [2024/09/22 00:28] (current) – external edit 127.0.0.1
Line 5: Line 5:
   * the last **new** pages are [[en:_index_updates|-> here ]] (incl. Updates).   * the last **new** pages are [[en:_index_updates|-> here ]] (incl. Updates).
  
-**Hint:** to jump in a special group use the link-table in the [[en:search#amigawiki__footer|footer of every page]] !+**Hint:** to jump in a special group use the link-table __in the footer of every page__ !
    
 \\  \\ 
Line 54: Line 54:
 ===== Quicksearch ===== ===== Quicksearch =====
  
-You can enter the beginning of a [[pagename]] into the search box and wait half a second. In most modern browsers you will automatically get a popup with matching pagenames.+You can enter the beginning of a pagename into the search box and wait half a second. In most modern browsers you will automatically get a popup with matching pagenames.
  
 ===== Some Background on the Searchindex ===== ===== Some Background on the Searchindex =====
  
-DokuWiki now uses an index to search even big wikis very fast, to be able to find anything the index needs to be filled with current data. Information about a page's content is added and updated when a page is viewed by a user. Each page includes an invisible image ([[wp>webbug]]) which calls the index update process if needed.((Note that the webbug is used for other tasks, too.  See http://forum.dokuwiki.org/post/3116))  (That is, if the timestamp of the page is newer than the timestamp of the index file.)+DokuWiki now uses an index to search even big wikis very fast, to be able to find anything the index needs to be filled with current data. Information about a page's content is added and updated when a page is viewed by a user. Each page includes an invisible image ([[wp>webbug]]) which calls the index update process if needed. (That is, if the timestamp of the page is newer than the timestamp of the index file.)
  
 The index consists of files called ''page.idx'', ''w//[n]//.idx'' and ''i//[n]//.idx'' located in the index directory. ''w//[n]//.idx'' contains a list of all words (except stopwords) with a length of //n// that appear on the wiki pages. For every line in ''w//[n]//.idx'' there is a line in the corresponding ''i//[n]//.idx'' file that contains page references in the form of ''pn*freq''. ''pn'' is a line number for ''page.idx'', ''freq'' denotes how often the word appears on the page. Multiple page references are separated with a colon. The index consists of files called ''page.idx'', ''w//[n]//.idx'' and ''i//[n]//.idx'' located in the index directory. ''w//[n]//.idx'' contains a list of all words (except stopwords) with a length of //n// that appear on the wiki pages. For every line in ''w//[n]//.idx'' there is a line in the corresponding ''i//[n]//.idx'' file that contains page references in the form of ''pn*freq''. ''pn'' is a line number for ''page.idx'', ''freq'' denotes how often the word appears on the page. Multiple page references are separated with a colon.
  
-The [[indexer]] uses a language specific stopword file which contains a list of very common words which will never be indexed (e.g. the word ''the'' in English). Searching for such a word will not return any hits. This stopword file is located in language folder of the DokuWiki installation, that is <dokuwiki>/inc/lang/<language>/stopwords.txt so you can edit the file in proper folder for adding or removing words not indexed for that language.+The indexer uses a language specific stopword file which contains a list of very common words which will never be indexed (e.g. the word ''the'' in English). Searching for such a word will not return any hits.  
 +[indent][[doku>search]][/indent]
  
-If you upgraded your wiki from an older version without an index, your search won't return anything until the index is built. You can either wait until this happens by browsing your wiki or use the provided [[cli|commandline script]] for updating the index. 
Last modified: 2024/09/21 23:41