Search Behavior and Commands for KMC and for the Sphinx API


The following special operators can be used in a free text search field in the Kaltura API:

  • Exclamation mark (!) - AND NOT . Note that AND NOT is not a unary NOT operator. A positive search word must appear before the AND phrase. See here for additional information.
  • Double Quotes ("") - are treated as an EXACT MATCH search operand.
  • Backslash (\) - escape. To search for the character ! you have to enter ! in the search field.
  • Comma (,) - OR
  • Spacebar - AND

Blend Chars

Blended characters are indexed both as separators and valid characters. For instance, assume that & is configured as blended and AT&T occurs in an indexed document. Three different keywords will get indexed, namely "at&t", treating blended characters as valid, plus "at" and "t", treating them as separators.

The following blend chars are configured for the API search.

!, $, ', (, ), *, -, /, :, ;, <, =, #, [, , ], ^, `, {, |, }, ~, %, &, +, >, ?, @, _

These blend characters may be used as delimiters or as characters.

For more information, see the article How to perform AND, OR, NOT and Exact Match searches Using the Kaltura API with Shpinx.

In This Article
Was this article helpful?
Thank you for your feedback!