Translations of this page?:

Busquedas

Podemos acceder a la búsqueda desde la caja de búsqueda situada en la parte de arriba a a derecha (cuando utilizamos la plantilla por defecto).

Sintaxis

En la búsqueda, se puede utilizar el modificador + delante para incluir una palabra y - para excluirla. Si no se pone nada se asume el modificador +.

Para buscar una frase exacta se entrecomilla con comillas dobles. También se pueden hacer búsquedas parciales utilizando el modificador *. Por ejemplo: buscaremos “wiki” para encontrar exactamente “wiki”, si ponemos “*wiki” también encontraremos todas las palabras que terminen en “wiki”, como “DokuWiki”.

La búsqueda también puede restringirse a espacios de nombre (namespaces). Por ejemplo: “wiki” @wiki:docs @work:docs will search for “wiki” en el namespace wiki:docs y work:docs. …

Búsqueda rápida

Puede introducirse el principio del nombre de una página en la búsqueda y esperar un segundo. En cualquer navegador moderno aparecerá automáticamente un letrero con las páginas encontradas.

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 (webbug) which calls the index update process if needed.1) (That is, if the timestamp of the page is newer than the timestamp of the index file.)

The index consists of three files called index.idx, page.idx and word.idx located in the cache directory. word.idx contains a list of all words (except stopwords) that appear on the wiki pages. For every line in word.idx there is a line in index.idx 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 (eg. the word the in english). Searching for such a word will not return any hits.

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 commandline script for updating the index.

1) Note that the webbug is used for other tasks, too. See http://forum.dokuwiki.org/post/3116
 
wiki/es/search.txt · Last modified: 2008/03/30 13:43 by 84.79.154.126
 
Imprint Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate