Small. Fast. Reliable.
Choose any three.

Test Plan for FTS3

Terms:
  1. basic query.
  2. composite query.
  3. matchable phrase.
  4. phrase match.

Query Parsing Details

Query Matching Details

Basic Query Matching

A basic query consists of one or more phrases joined together by NEAR operators. Each phrase consists of an ordered list of one or more terms or term prefixes.

Evaluating a basic query against a row of an FTS3 table produces two outputs: a Boolean value (the result of the basic query expression) and zero or more phrase matches (used by the auxillary functions). A phrase match is a series of zero or more tokens within the row data that match a specific phrase within the basic query, and meet the 'nearness' constraints placed on the phrase by the NEAR operators to the left and right of it in the basic query (if any).

Composite Query Matching

Auxillary Function Details

Reportable Phrase Matches

Offsets Function

Snippet Function

Matchinfo Function