SWISH-E Searching

Boolean Operators

You can use the boolean operators "and", "or", or "not" in searching. If a boolean operator is not specified, SWISH-E assumes you are "anding" the words together. The operators are case sensitive -- use lowercase ONLY.

By default, evaluation takes place from left to right.

smilla or snow

The search shown above would retrieve files containing either the words "smilla" or "snow".

smilla or snow not sense

The search shown above would retrieve files containing either the words "smilla" or "snow", then remove the ones that do not contain the word "sense"

Truncation

The only wildcard available at this time is (*); it may only be used at the end of a word. Usage at the beginning or in the middle of the word will yield no results.

librarian*

The search above would retrieve files containing "librarian", but also would retrieve files that contained "librarians", "librarianship", etc.

Meta Tags

The equal sign indicates the presence of a metaName and the search results in all the files where the META tag with NAME="metaName" has CONTENT="... word ...". In order for a Meta Tag to be searcahable, the index administrator must specify the Meta Tag in the index configuration.

Let's assume a page has the following Meta Tag.

<META NAME="keywords" CONTENT="database, search, web">

A search like the one below would retrieve this page.

keywords=database

Queries can be also constructed using any of the usual search features, moreover metaName and plain search can be mixed in a single query.

keywords = (database or html) not (javascript or java)

This query will retrieve all the files in which the "keywords" Meta Tag contains either "database" or "html" but contains neither the words "javascript" nor "java".

Regular HTML tags can be treated like Meta tags by SWISH-E.

title=database

Assuming the index configuration lists the "title" tag to be a Meta Tag that can be searched, the query above would retrieve all files that contained "database" in the <TITLE> tag.

Order of Evaluation

Expressions are always evaluated left to right:

juliet not ophelia and pac

The query above would retrieve files which contain juliet and pac but not ophelia

However it is always possible to force the order of evaluation by using parenthesis.

juliet not (ophelia and pac)

The search above would retrieve files with "juliet" and containing neither "ophelia" nor "pac".