You can activate this feature through "Admin home > Features > Search"
Then, you can set the search settings under the magnifying lens icon (
), which will lead you to "tiki-admin.php?page=search".
give tiki_p_search to the groups that are allowed to search.
There are 2 search systems that can be configured by the administrator: (a) Basic Search (database search) and (b) Advanced search (tiki search) . In old versions, each one had a module, a tiki page that displayed the results and a set of settings.
Uses MySQL Full-Text Search, through tiki-searchresults.php. If enabled, the search module and search feature at the main application menu will use it by default, even if 'Advanced Search' is also enabled below.
Uses Unified Search Index, through tiki-searchindex.php. You must choose one unified search engine (default value, Lucene, is ok as a starting point).
There are a few options you can choose from, here.
There are a few options you can choose from, here.
You require an extenral server setup appropriately to use this search system.
See: Search within files
Setting | Description |
Full text search | If selected, the search uses a full-text database search; if not, the database search is primarily an OR search between searched words, the Tikiwiki search will be refreshed automatically in tikiwiki >=1.10 |
Search stats | Specify if Tiki records the searched terms for use in the Search Stats page. |
Referrer search highlighting | Specify if the results highlight the matched words. Note: Selecting this option may negatively affect Tiki search performance. |
Click the Refresh wiki search index now link to refresh the search index of a Tikiwiki search.
Note: Use the Refresh... option only for small sites — larger sties should use a cron batch job.
Setting | Description |
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. |
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. |
Note: These options may negatively affect Tiki search performance.
Setting | Description |
Search refresh rate | only for the tiki search. 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. |
In tikiwiki>=1.10, the indexation is refreshed in real time (if full text option is unchecked). | |
Minimum length of search word | only for the database independent search. For Mysql fulltext you must do it in the MySQL configuration. |
Max. number of words containing a syllable | only for the db independent search. |
Max. age in hours of syllable search cache | only for the db independent search. |
LRU list purging rate | only for the db independent search. |
LRU list length | only for the db independent search. |
Note: LRU (Least Recently Used) is search engine technique implemented in Oracle, Java and others. It may also be known as a "search cache."
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.
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.