Loading...
 
Skip to main content

History: Search

Preview of version: 9

Search

Help!
If you can't find results that you think should appear, first check the search mode.

Overview


Image

If the search feature is enabled and you assign the search box module to the left or right side bar, you will see a search box where that you can use to search content in Tiki. The search box module will display a select box allowing you to search for something in a specific content :

  • Entire site : sum of all fields below
  • Wiki Pages : page name, description, data
  • Directory : name, description
  • Articles : title, heading, body
  • Image Galleries : name, description
  • Images : name, description
  • File Galleries : name, description
  • Files : name, description, search_data (data produced by the converter))
  • Forums : forum posts title and content (name and description with tiki search)
  • Blogs : title, description (and user with tiki search)
  • Blog posts : title, data (and user with tiki search)
  • FAQs : title, description
  • FAQs questions : question, answer
  • Comments : title, data (and summary for tiki search)


Once you select an option and click the search button you will be redirected to the searchresults page :

Image

In this screen you will see a list of results for the search. The links below the title can be used to search in different areas of Tiki the same way as the search module does. If there are a lot of results you will see links to the next/prev pages at the bottom. The number of items where the search criteria was found can be located just below the links to search different features.

This integrated search engine is very useful to quick-find content or information in Tiki and it will automatically detect which features/sections are enabled or disabled allowing the search only in enabled features. If the Wiki is disabled, for example, you won't be able to find things in Wiki pages.

Search modes

If you want, you can enable full-text search. With this option your results will be ordered according to their relevance to the search terms.

The search can be configured by the administrator as a simple search or as a full text search. (A user knows it is a full text search because each result has a relevance indicator)

If the administrator has not activated the "full-text" feature, the search is done in a very simple way.
Each query is split into words (a word is recognized as delimitated by space). An object will be returned only if it contains each string word.
Example: If the query is "full text", only the object that contains "full" and that contains "text" will be returned.
Be careful that it is not "contains the word" but contains the string; it means that an object with "fulltext" will be returned, as an object with "faithfully textual" or "carefull texture".
Be also careful that an object has some hidden text like the links. So, an object that contains "http://fulltext/|Mysite" is selected.
The search is performed in case-insensitive fashion. It means that if you look for "tiki", you will find objects than contain the word "Tiki" and not "tiki".
Advantages:

  • quick
  • pick up everything that is indexed (see the section describing the search space)

Disadvantages:

  • The search is very noisy: a lot of objects are returned
  • There is no relevance and the objects are not sorted. It means that an object with 2 occurrences of the searched word will be returned as an object with only 1 occurrence.
  • the word is exactly seached, it means "cliche" will not find "cliché"


Tiki:FullTextSearch

Word highlighting

In v1.9 there is a new searchbox (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.

Word highlighting from referals

In v1.9 there is an experimental feature that automatically highlighs search words when one follows a link from a search engine. Fore more information, please see Referer Search Highlighting and Tiki:SearchDev.

Try it out

Notes


For more information


History

Information Version
Marc Laporte 30
Marc Laporte There are no longer two searches 29
Xavier de Pedro 28
Xavier de Pedro 27
Bernard Sfez / Tiki Specialist 26
Bernard Sfez / Tiki Specialist better icon 25
Jonny Bradley 24
Marc Laporte 23
Marc Laporte 22
Marc Laporte 21
Marc Laporte 20
Marc Laporte obsolete page 19
Marc Laporte 18
Marc Laporte That note was made redundant 17
Marc Laporte 16
Marc Laporte 15
Brian Merritt 13
Brian Merritt Tiki 6.x Document Refresh 12
Brian Merritt 11
Xavier de Pedro 10
Xavier de Pedro 9
Xavier de Pedro getting spam out of here... 8
Some grammatical corrections 7
6
Michael Davey 5
sylvie 4
heikohaller screenshots added 3
system created from stucture 2