The History Cooperative

Tips for Effective Searching

The History Cooperative uses swish++ for our search backend, Swish++ supports full boolean searches and more. Here are some examples from the Swish++ documentation:

Simple Queries

The query:
librar*

will return all documents that contain ``library,'' ``libraries,'' or ``librarian.''

The query:
mouse and computer

will return only those documents regarding the kind of mice attached to a computer and not the rodents.

The query:
cat or kitten or feline

will return only those documents regarding cats.

The query:
mouse or mice and not computer

will return only those documents regarding mice (the rodents) and not the kind attached to a computer. The query:

mouse and computer or keyboard

is the same as:

(mouse and computer) or keyboard

in that they will both return only those documents regarding either mice attached to a computer or any kind of keyboard. However, neither of those is the same as:

mouse and (computer or keyboard)

that will return only those documents regarding mice and either a computer or a keyboard.

Queries Using Meta Data

The query:
author = carroll

will return only documents in which the META author attribute contains "carroll".

The query:
author = stevenson treasure

will return only those documents whose author attribute contains "stevenson" and also regarding treasure.

The query:
author = (lewis carroll)

will return only those documents whose author is Lewis Carroll.

The query:
author = (lewis carroll) or wonderland

will return only those documents whose author is Lewis Carroll or that contain the word "wonderland" anywhere in the document regardless of the author.

Stemming

The search will perform stemming on your query words -- that is, suffixes will be stripped in order to match different forms of the same word. Words that end in *, the wildcard character, will not be stemmed.