% SiSU insert 2.0

@title: SiSU
 :subtitle: Search

@creator:
 :author: Amissah, Ralph

@date:
 :published: 2007-09-16
 :created: 2002-08-28
 :issued: 2002-08-28
 :available: 2002-08-28
 :modified: 2011-02-07

@rights:
 :copyright: Copyright (C) Ralph Amissah 2007
 :license: GPL 3 (part of SiSU documentation)

:A~? @title @creator

:B~? SiSU Search

1~search_intro SiSU Search - Introduction
={ SiSU search }

Because the document structure of sites created is clearly defined, and the text object citation system is available hypothetically at least, for all forms of output, it is possible to search the sql database, and either read results from that database, or map the results to the html or other output, which has richer text markup.

SiSU can populate a relational sql type database with documents at an object level, including objects numbers that are shared across different output types. Making a document corpus searchable with that degree of granularity. Basically, your match criteria is met by these documents and at these locations within each document, which can be viewed within the database directly or in various output formats.

SiSU can populate an sql database (sqlite3 or postgresql) with documents made up of their objects. It also can generate a cgi search form that can be used to query the database.

In order to use the built in search functionality you would take the following steps.

_* use sisu to populate an sql database with with a sisu markup content

_1* sqlite3 should work out of the box

_1* postgresql may require some initial database configuration

_* provide a way to query the database, which sisu can assist with by

_1* generating a sample ruby cgi search form, required (sisu configuration recommended)

_1* adding a query field for this search form to be added to all html files (sisu configuration required)
