History: SearchDoc
Preview of version: 13
- «
- »
insert graphic
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 will display a select box allowing you to search for a word in:
- Entire site
- Wiki pages
- Images
- Articles
- Image Galleries
- File Galleries
- Blogs
- Blog posts
- Forums
Once you select a feature and click the search button you will be redirected to the searchresults page :
insert graphic
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--such as pages, galleries, images, blogs, posts or articles. 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 admiting the search only in enabled features. If you disable the Wiki, for example, you won't be able to find things in Wiki pages.
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.
Full text search
The Full-text Search is based on the MySql full-text search functionality.
Restrictions:
- It works only on single-byte characters.
- Only on words with a least 4 characters.
The search is performed in case-insensitive fashion.
The query is split into words: a word is a sequence of alphanumeric characters and "_" character. Some words are eliminated (those form a stop list and those too short).
The results are sorted with highest relevance first. Relevance is computed based on the number of words in the object, the number of unique words in that object, the total number of words in the collection, and the number of objects that contain a particular word. This way, a word that is present in many documents will have lower weight (and may even have a zero weight), because it has lower semantic value in this particular collection
It is also possible to perform a boolean mode search :
- + : A leading plus sign indicates that this word must be present in every object returned.
- - : A leading minus sign indicates that this word must not be present in any row returned.
- By default (when neither plus nor minus is specified) the word is optional, but the object that contain it will be rated higher.
- : These two operators are used to change a word's contribution to the relevance value that is assigned to a row. The operator increases it.
- ( ) : Parentheses are used to group words into subexpressions.
- ~ : A leading tilde acts as a negation operator, causing the word's contribution to the object relevance to be negative. It's useful for marking noise words. An object that contains such a word will be rated lower than others, but will not be excluded altogether, as it would be with the - operator.
- * : An asterisk is the truncation operator. Unlike the other operators, it should be appended to the word, not prepended.
- " : The phrase, that is enclosed in double quotes ", matches only objects that contain this phrase literally, as it was typed.
Simple text search
If the administrator has not activated the "full-text" feature, the search is done in a very simple way. The search is performed in case-insensitive fashion. The query is split into words and each word is delimited by a space. An OR between the words is done, retrieving the object with all the words with a better relevance than an object containing only some words.
What is searched?
- Wiki Pages: title, data
- Articles : title,heading,body
- Blogs : data
- Comments : title, data
- Directories : name, description
- FAQS : question, answer
- File Galleries : name, description
- Images : name, description
please link to the live Feature on tikiwiki.org
This page is for the latest released stable version or release candidate(not stuff in CVS).
Who is working here generally? Link UserPage.