THIS IS ARCHIVED DOCUMENTATION

Supported LINQ Operators

Coveo for Sitecore 4.1 (November 2018)

Here is a list of LINQ operators supported by Coveo for Sitecore.

LINQ operation Coveo Solr Lucene Note
==, != check check check

The == operator now checks for an exact match.
Coveo for Sitecore (09 2016) You can now use these operators with null or "" for empty strings to check whether a field exists.

>, >=, check check check
And, Or check check check
All check check check
Any check check check
Between check x x Good for numeric and date fields only. The date must be in this format: yyyyMMdd.
FacetOn check check check
Facet Pivot x check check
Boost check check check CoveoBoost is easier to use (see Coveo LINQ Extensions).
Cast check x x
Contains check check check Uses the WildCardMatch.
Count check check check
ElementAt check check check
EndsWith check check check Uses the WildCardMatch.
First check check check
Last check check check
Max check x x
Min check x x
Matches check x x Doesn't support Regex options.
OrderBy check check check
Select check check check
Single check check check
Skip check check check
StartsWith check check check Uses the WildCardMatch.
Take check check check
Where check check check
WildcardMatch check check check Can only be used on fields that are facet.
Like check check check Doesn't support minimum similarity parameter.
Phonetic matching check x x
Nested query check x x