|
|
|||||||||||||||||||||||||||||||||||||||||||||||
![]() |
NatSearchChanged by WikiGuest on 17 Feb 2010 - 15:51 - r1
Search facility for the NatSkin.
DescriptionNatSearch unifies the Jump & Search boxes known from the standard distribution. It uses one input field to either jump to a topic or perform a query. You can even use it as a quick way to create and edit new topic by enteringe:NewTopic into the input field.
NatSearch is heavily inspired by the PhotonSearch by Esteban Manchado Velázquez.
UsageNatSearch basically first tries to find the named topic and jumps to it if it exists. If not a combined topic+content search is started. If the topic matches a "web.topic" pattern then the topic is searched in the given web. If the topic does not exist in this web the following topic+content search will be conducted in the web. That is, you can search for content in a given web using a "web.keyword" pattern.The search string may be prefixed with a set of options that are separated from the rest of the search string with a colon(:). Known options are:
A search string may consist of a list of terms that are retrieved. If a term shall contain spaces it can be surrounded by double quotes. Each term may be preceded with a minus (-) to exclude this term from the hit set.
Examples
ConfigurationNatSearch can be restricted to certain webs and topics by setting WebPreferences. Besides the NOSEARCHALL feature of every web that excludes a web from search the following variables restrict the hit set:
The WebPreferences variable DBCachePlugin: NatSearch not found
![]() |