Fullscreen
[Show/Hide Right Column]



Search Admin


You can activate this feature through "Admin home > Features > Search"

Image


Then, you can set the search settings under the magnifying lens icon (Image ), which will lead you to "tiki-admin.php?page=search".

Search permissions

give tiki_p_search to the groups that are allowed to search.

Search modes

The search can be configured by the administrator as a (a) database search or as a (b) tiki search . Each one has a module and a tiki page that dsiplays the results and a set of settings.

  1. the Module search_box:
    It is called "database search". It uses the resources of the database to do the search and indexation. It can be used with or without fulltext capacity. You can see you are running this search if the search page is tiki-searchresults.php. If you enable full-text search, your results will be ordered according to their relevance to the search terms. In a similar way, a user knows it is a full text search because each result has a relevance indicator.
  2. the Module search_new:
    It is called the "database independent search" or "tiki search". The search resources are managed by tikiwiki. There is no fulltext capacity in this module. search_new was introduced in Tikiwiki 1.8. You can see you run this search if the search page is tiki-searchindex.php

Both can be used as soon as you check the feature search. You can even set the 2 search boxes.

Search on the file galleries

See: Search within files


Settings



Image



Search features
Setting Description
Referer Search Highlighting Specify if the search results page will highlight the matched words. See Referrer Search Highlighting for details.
Note: Selecting this option may negatively affect Tiki search performance.
Parse the Result Specify if Tiki should parse the wiki syntax on the search results page. If not selected, the wiki sytax (code) will be shown. Selecting this option may negatively affect Tiki search performance.

This option was introduced in Tiki 2.0
Activate MySQL Full Text Search If selected, the search uses a full-text database search. If not selected, the database search is primarily an OR search between searched words. The Tikiwiki search will be refreshed automatically.

This option was introduced in Tiki 2.0
Ignore individual object permissions If selected, the database search results will show all matches — even if the user does not have permission to view the specific page. Selecting this option may negatively affect Tiki search performance.
Ignore category viewing restrictions If selected, the database search results will show all matches — even if the user does not have permission to view the specific category. Selecting this option may negatively affect Tiki search performance.
Search stats Specify if Tiki records the searched terms for use in the Search Stats page.
Search Refresh Mode Specify how Tiki determines th search refresh index: Normal or Random.

Note: This option applies only if the Activate MySQL Full Text Feature is not enabled.
Search refresh rate Specify how often Tikiwiki should refresh the search engine: the bigger is the number, the less often one random object is indexed. At each access to a page of the site, a random number between 1 and the refresh rate is computed . If this number is 1 , a random abject is indexed. Starting with Tiki 2.0, the index is refreshed in real time.

Note: This option applies only if the Activate MySQL Full Text Feature is not enabled.
Minimum length of search word Specify the minimum number of characters of the search word.

Note: This option applies only if the Activate MySQL Full Text Feature is not enabled. When using the MySQL Full Text Search, you must specify the word length it in the MySQL configuration by using the ft_min_word_len variable. See the MySQL documentation for details.
Max. number of words containing a syllable only for the db independent search.

Note: This option applies only if the Activate MySQL Full Text Feature is not enabled.
Max. age in hours of syllable search cache only for the db independent search.

Note: This option applies only if the Activate MySQL Full Text Feature is not enabled.
LRU list purging rate only for the db independent search.

Note: This option applies only if the Activate MySQL Full Text Feature is not enabled.
LRU list length only for the db independent search.

Note: This option applies only if the Activate MySQL Full Text Feature is not enabled.


Other options:
  • Click the Refresh wiki search index now link to refresh the search index of the wiki.
  • Click the Refresh tracker search index now link to refresh the search index of the trackers.
  • Click the Refresh search index now link to refresh the search index of a Tikiwiki search.
Note: Use these Refresh... option only for small sites — larger sties should use a cron batch job.




Mysql search tuning

See http://dev.mysql.com/doc/refman/5.0/en/fulltext-fine-tuning.html for some setting at mysql level like the stop list words and the 4 character limit.

Word highlighting

In v1.9 there is a new search box Module search_new and results page (tiki-searchindex.php) that together provide highlighting of search words. Additionally, by adding "&highlight=words", where words are the words you want to highlight, to the end of the URL (web address) for any wiki page, the words will be highlighted in the page.

Related pages

alias


Contributors to this page: Marc Laporte9146 points  , sylvie7387 points  , Rick23018 points  , Scot Wilcoxon684 points  , Jean-Marc Libs3172 points  , Xavi67984 points  , dthacker1483 points  , Michael Davey15 points  , jasondiceman5 points  , Mose96 points  and system .
Page last modified on Monday 21 June, 2010 01:33:05 UTC by Marc Laporte9146 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki