A Coveo query expression can be as simple as a single keyword, but can also include more complex expressions including fields, operators, prefixes, and more. For more information on the Coveo Query syntax see Coveo Query Syntax Reference.
Here are some facts and guidelines about keyword expressions (see also Basic Query Composition Facts and Guidelines):
Choose descriptive words.
Use the right number of terms.
Try synonyms (see Manage the Thesaurus of Your Coveo Organization).
Same root words are searched (see About Stemming).
Each term is important.
Term order isn’t important.
Terms aren’t case sensitive.
Accentuated words are taken into account.
Misspelled words are corrected (see How Are Misspelled Words Handled?).
Punctuation is ignored.
Special characters may have special effects (see Using Special Characters in Queries).
Numbers are important.
Akin to keyword expressions, data that describes other data is called
metadata, or sometimes,
attributes. In a Coveo implementation, metadata is referred to as
fields in the unified index. Field expressions are used throughout Coveo products, sometimes hidden in the code. For example, facets are simply built from a field expression:
Some other field uses include:
For formatting - by tailoring the template that displays information on a result.
For sorting - by providing less generic sorting options.
For relevancy - by providing optimization of search relevancy with ranking expressions.
To see which fields you may use and also the behavior inferred to each field, see Available System Fields.
In either case of Keyword Expressions or Field Expressions, there’s a wide range of prefixes and operators that can scope the matching possibilities on the index (see Search Prefix and Operators). In some specific cases, there are even advanced field expressions which can be applied (see Advanced Field Queries).
Expression Completion or Suggestion
In a Lightning community, the Coveo-powered search interface only supports the Did You Mean feature when associated to the Standalone Search Box (see Including the Standalone Searchbox in Your Community).