Date: Fri, 10 Sep 2010 13:47:11 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1)
X-Rcs-Id: $Id: FindPage 7682 2010-09-10 12:03:36Z vargenau $
Content-Type: application/x-phpwiki;
  pagename=FindPage;
  flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
  markup=2;
  charset=UTF-8
Content-Transfer-Encoding: binary

== Title Search ==

Here's a title search. Try something like ##wiki or sandwich##.

<<WikiFormRich action=TitleSearch method=GET nobr=1 class=wikiaction
  editbox[] name=s text=""
  submit[]
  checkbox[] name=case_exact
  pulldown[] name=regex value="auto,none,glob,posix,pcre,sql">>

== Full Text Search ==

Use the following for a full text search. This takes a few seconds.
The results will show all lines on a given page which contain a
match.

<<WikiFormRich action=FullTextSearch method=GET nobr=1 class=wikiaction
  editbox[] name=s text=""
  submit[]
  checkbox[] name=case_exact
  pulldown[] name=regex value="auto,none,glob,posix,pcre,sql">>

== Fuzzy Search ==

In a fuzzy pages search the titles of all pages are examined to find
those which are similarly spelled or similar sounding (English).

<?plugin-form FuzzyPages ?>

== Tips ==

* Separate words with a space. All words have to match as substrings.
* '##OR##', grouping with parenthesis, string-quoting and some glob-style wildcard characters are also supported.
* To exclude words from a title search or full text search, prepend a '##-##'.
* Use '##^xx##' or '##xx~*##' to match words starting with '##xx##'.
* Use '##~*xx##' or '##xx$##' to match words ending with '##xx##'.
* Use '##^word$##' to match exact words.
* Use //regex=auto// and '##re:##' like '##re:word.*xx##' or //regex=posix// to use Posix regular expressions. (not yet)
* Use //regex=auto// and '##//##' like '##/^word$/##' or //regex=pcre// to match using Perl-style regular expressions.
* Use //regex=sql// to match using SQL-style wildcards '##%##' and '##_##'.
* Use //regex=none// to match any wildcards verbatim.

=== Example ===
* '##wiki text -php##' looks for all pages containing the words '##wiki##' and '##text##', but not containing the word '##php##'.
