Celatro Fuzzy Search (CFS) Rules

Using Brackets ([]) to Trigger Inexact Match Searches
CFS introduces a unique and powerful collection of inexact match search capabilities that makes it easy to retrieve quality hits even when you are not sure of the spelling or the ordering of the word or phrase you seek. The following set of inexact match search guidelines distinguishes between basic and advanced inexact match searches. Each option can be used with wildcards, operators, and so on.

Basic Inexact Match Searches
Triggers a basic inexact match of the bracketed search term.
Syntax Samples:

calif — Returns calif
[calif] — Returns calif, california, caliph, kalif, kaliph, khalif, and khalifa
[calif] not California — Returns calif, caliph, kalif, kaliph, khalif, and khalifa

Advanced Inexact Match Searches
Lets you to invoke the corresponding inexact match search algorithm by using its corresponding initials. Valid initials include: JW – JaroWinkler; L – Levenshtein, S – Soundex, FF – FuzzyFinder, ST – Stemming.

Syntax Samples:

government — Returns government
[ST:government] — Returns terms containing the same stem as "government" (i.e. govern, governor, governing, governments, governed, and so on.)

Using Wildcards
Wildcards (* ?) can be used anywhere in a search query except within quotations (see Triggering Exact Matching, below). Unlike most wildcard implementations, CFS wildcards can be used more than once in the same query.

Using Quotes ("") to Trigger Exact Matching Searches
Anything placed inside quotes is taken literally, including operators, wildcards, and so on.
Syntax Samples:

"Diamond ring and baseball" — Returns only documents that contain the contiguous phrase diamond ring and baseball.

Using Operators
CFS recognizes the following operators in the following order of precedence. (The order of precedence can be overridden using grouping, as explained below.)

The not Operator (Unary)
Purpose: Retrieves only documents that do not contain the query term.
Usage: Never implied. Can also be expressed by the minus (-) sign. Evaluated first when other operators are present in the same query.
Syntax Samples:

baseball diamond not ring
baseball diamond -ring

The and Operator (Binary)
Purpose: Retrieves only documents containing both query terms.
Usage: Implied if there is no operator present between two query terms. Can also be expressed by a plus (+) sign. Evaluated second when the not operator is also present.
Syntax Samples:

baseball diamond
baseball and diamond
baseball + diamond

The or Operator (Binary)
Purpose: Retrieves documents that contain either query term.
Usage: Never implied. Can also be expressed by a bar (|) sign. Evaluated last when other operators are present in the same query.
Syntax Samples:

baseball or diamond
baseball | diamond

Overriding Operator Precedence by Grouping
You can change the order in which the operators will be evaluated by using parentheses to group search terms.
Syntax Samples:

diamond and not ring and baseball — Returns documents that contains both diamond and baseball, and excludes those that contain ring.
diamond and not (ring and baseball) — Returns documents that contain diamond as long as neither ring nor baseball is present in them.