Version 25 of Search

Updated 2014-09-27 02:23:39 by sergiol

Summary

details about searching this wiki

Description

http://wiki.tcl.tk/_/search
the search page for this wiki. It corresponds to the search in titles box in the left column, and is based on sqlite's full text search . The search string is passed as MATCH argument, including the * characters. Check www.sqlite.org/fts3.html for more information about sqlite and full text search.
Search
A page with additional details about the search facilities
Google search of this site
just add your search terms after the google search term site:wiki.tcl.tk
URL word search
One way to search for for a word in page titles is by adding the word to the end of this URL . For example, http://wiki.tcl.tk/calling shows a list of pages containing the word, "calling" in the title. However, if there is an exact title match, then that page is returned rather than a list of search results. For example, http://wiki.tcl.tk/time returns the Time page directly.
URL Wildcard search
can also be perf rme by typing a certain URL. For example, http://wiki.tcl.tk/*time returns the results of a title search followed by the results of a full-text search of page content.

The * used in previous versions of the search to distinguish between searching in titles or page content is no longer supported. Searches are now always done on titles and page content. The results are listed sorted on the last-edited-data, most recent first. Results are presented in two groups, tile results are shown in the first group, followed by the results of full-page content search in the second group.

The sqlite in use at the wiki has been compiled with -DSQLITE_ENABLE_FTS3_PARENTHESIS so the Enhanced Query Syntax is available. This makes is possible to do the searches with an implicit AND as before but also allows you to refine your search using the AND, OR and NOT keywords.

jnc: Using the FTS3 Parenthesis option, you can now search for things such as "https NOT soap" or "https AND (soap OR json)"

tjk: If you want to search for an explicit string such as "package require registry" you should connect the words with a NEAR/2 qualifier. Thus a search for 'package NEAR/2 require NEAR/2 registry' will find all pages that contain the string "package require registry".

emj: Actually you can just search for "package require registry" including the quotes in the search box.

EMJ: You don't need to search for pages in a category since the category page itself will give you that, but you can search for a page that is in two categories with

 categor* NEAR cat1 NEAR "other cat"

(quote any category name with more than one word). This will work for both older and newer category markup but will miss if a page has too many categories (but you could try NEAR/20 for that). It will also miss a single category link in the middle of the page with the other at the end, but there may be other tricks to cover that (which may become too complicated to be viable).

sergiol Bug report: Can't use search. The result is a page with scrambled characters, including Tcl code.