Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
help:search [2020/02/02 19:44] – created icnahelp:search [2020/02/02 19:59] (current) – [OpenSearch] icna
Line 8: Line 8:
 ==== Terms you want to exclude (-) ==== ==== Terms you want to exclude (-) ====
  
-You can attach a minus sign ''-'' immediately before a keyword to exclude pages that contain this keyword from your search results. For example, the query ''ICNApedia Wiki -plugin ]'' will find pages which contain "ICNApedia Wiki" but do not contain "plugin".+You can attach a minus sign ''-'' immediately before a keyword to exclude pages that contain this keyword from your search results. For example, the query ''[neuropathy -trauma]'' will find pages which contain "neuropathy" but do not contain "trauma".
  
-You can use this syntax ''-'' not just for a keyword, but also for a partial matching, a phrase search, a namespace search and a grouping search described below. For example, you can use the query ''%%[ -"phrase you want to exclude" ]%%'' to exclude exact phrase. +You can use this syntax ''-'' not just for a keyword, but also for a partial matching, a phrase search, a category(namespacesearch and a grouping search described below. For example, you can use the query ''%%[ -"phrase you want to exclude" ]%%'' to exclude exact phrase. 
  
 ==== Partial matching (*) ==== ==== Partial matching (*) ====
  
-You can perform a partial matching by prefixing and/or suffixing an asterisk ''*'' to a keyword. For example, searching for ''wiki ]'' will only find "wiki", but searching for ''[ *wiki ]'' will also find "ICNApedia Wiki" (suffix matching). You can also perform ''doku* ]'' (prefix matching) and ''[ *okuwik* ]'' (partial matching).+You can perform a partial matching by prefixing and/or suffixing an asterisk ''*'' to a keyword. For example, searching for ''myelitis ]'' will only find "myelitis", but searching for ''[ *myelitis]'' will also find "encephalomyelitis" (suffix matching). You can also perform ''neuro* ]'' (prefix matching) and ''[ *cephalo* ]'' (partial matching).
  
-Note that ''*'' is not a "wildcard". You can't use it within a keyword, i.e. searching ''doku*iki ]'' will not find anything for you.  +Note that ''*'' is not a "wildcard". You can't use it within a keyword, i.e. searching ''neu*pathy ]'' will not find anything for you.  
  
 ==== Phrase search ("") ==== ==== Phrase search ("") ====
  
-You can search for exact phrases by putting double quotes around a set of words, e.g. ''%%[ "installing ICNApedia Wiki" ]%%''.+You can search for exact phrases by putting double quotes around a set of words, e.g. ''%%[ "acute disseminating encephalomyelitis" ]%%''.
  
 ==== Search within a namespace (@) ==== ==== Search within a namespace (@) ====
  
-You can restrict the search to namespaces. To search pages within a namespace, prefix ''@'' or ''ns:'' to the namespace. To not search pages within a namespace, prefix ''^'' or ''-ns:'' to the namespace.+You can restrict the search to namespaces or categories. To search pages within a namespace, prefix ''@'' or ''ns:'' to the namespace. To not search pages within a namespace, prefix ''^'' or ''-ns:'' to the namespace.
  
-For example, the query ''ICNApedia Wiki @wiki ^wiki:docs ]'' will find pages which contain a word "ICNApedia Wiki" and are within "wiki" namespace but not within "wiki:docs" namespace. The query ''ICNApedia Wiki ns:wiki -ns:wiki:docs ]'' will do the same thing.+For example, the query ''ataxia @content ^:neurolists ]'' will find pages which contain a word "ICNApedia Wiki" and are within "content" namespace but not within ":neurolists" namespace. The query ''ataxia ns:content -ns:neurolists ]'' will do the same thing.
  
 ==== The OR operator (|) ==== ==== The OR operator (|) ====
  
-By default ICNApedia Wiki performs a logical AND search, but you can also use a logical OR search by using ''|'' or ''or'' as a separator of your search terms. For example, the query ''plugin template ]'' will find pages which contain either "plugin" or "template" or both. The query ''plugin or template ]'' will do the same thing. You may use OR as a simple alternative to [[#Partial matching (*)]], e.g. in finding pages about people with spelling variations as ''[ Frank | Fränk ]''.+By default ICNApedia Wiki performs a logical AND search, but you can also use a logical OR search by using ''|'' or ''or'' as a separator of your search terms. For example, the query ''seizures ataxia ]'' will find pages which contain either "seizures" or "ataxia" or both. The query ''seizures or ataxia ]'' will do the same thing. You may use OR as a simple alternative to [[#Partial matching (*)]], e.g. in finding pages about people with spelling variations as ''[ Frank | Fränk ]''.
  
-The OR operator has a lower precedence than the default AND operator. That is, the query ''ICNApedia Wiki plugin template ]'' can be represented as ''[ (ICNApedia Wiki plugin) | template ]'', not as ''ICNApedia Wiki (plugin template) ]''. Instead, use a grouping syntax as described below.+The OR operator has a lower precedence than the default AND operator. That is, the query ''cerebellar ataxia seizures ]'' can be represented as ''[ (cerebellar ataxia) | seizures ]'', not as ''cerebellar (ataxia seizures) ]''. Instead, use a grouping syntax as described below.
  
-If you want to [[#Search within a namespace (@) |restrict your search on a namespace]], you **have** to group your search with "()", otherwise a search ''plugin template @plugin]'' will behave as ''[ (plugin) | (template @plugin)]'', i.e. searching for "plugin" OR "template @plugin" over //all// namespaces, but not as you may intend searching "plugin" OR "template" over the //plugin// namespace, the latter being correctly expressed as ''[ (plugin template) @plugin]''.+If you want to [[#Search within a namespace (@) |restrict your search on a namespace]], you **have** to group your search with "()", otherwise a search ''ataxia seizures @content]'' will behave as ''[ (ataxia) | (seizures @content)]'', i.e. searching for "ataxia" OR "seizures @content" over //all// namespaces, but not as you may intend searching "ataxia" OR "seizures" over the //content// namespace, the latter being correctly expressed as ''[ (ataxia seizures) @content]''.
 ==== Grouping search ==== ==== Grouping search ====
  
 You can group search terms by enclosing terms with parentheses ''( ... )''. Having the highest precedence, parentheses may be used to force precedence. You can group search terms by enclosing terms with parentheses ''( ... )''. Having the highest precedence, parentheses may be used to force precedence.
  
-For example, the query ''ICNApedia Wiki -(plugin | @plugin) ]'' will find pages which contain a word "ICNApedia Wiki" but not contain a word "plugin" and also are not within a namespace "plugin".+For example, the query ''ataxia -(seizures | @content) ]'' will find pages which contain a word "ataxia" but not contain a word "seizures" and also are not within a namespace "content".
  
 ===== Quicksearch ===== ===== Quicksearch =====
Line 46: Line 46:
  
 ===== OpenSearch ===== ===== OpenSearch =====
- 
-{{ :opensearch2.png|OpenSearch in Firefox}} 
  
 [[http://www.opensearch.org/|OpenSearch]] is a standard to make it easy to integrate a website's search into your browser. It is supported by all modern browsers. ICNApedia Wiki is OpenSearch enabled. [[http://www.opensearch.org/|OpenSearch]] is a standard to make it easy to integrate a website's search into your browser. It is supported by all modern browsers. ICNApedia Wiki is OpenSearch enabled.
  • help/search.1580672681.txt.gz
  • Last modified: 2020/02/02 19:44
  • (external edit)