Skip to main content
Support Help Center Help Center home page
AI OnAI Off
Developer documentation Developer community Optimizely Academy Submit a request Sign in
  1. Support Help Center
  2. Optimizely support
  3. Search

Search with AND not OR as operator

  • Updated March 28, 2023 18:29
Description:

How to switch Find to an AND operator vs the typical OR operator

Steps:

You can use the .WithAndAsDefaultOperator()
Another suggestion is to use .minimumShouldMatch()

Examples for the use of either method are available here:
https://github.com/episerver/EPiServer.Labs.Find.Toolbox#minimumshouldmatch

Please sign in to leave a comment.

Articles in this section

  • Configure your own Search & Navigation timeouts
  • Limit of total fields [100000] has been exceeded
  • TaskCanceledExeption related to EPiServer.Find.Api.Command.GetResponse
  • Initialize action failed for Initialize on class EPiServer.Find.Commerce.FindCommerceInitializationModule
  • Search with AND not OR as operator
  • Indexing HttpContext property can cause OutOfMemory exception
  • How to facet on search categories with connector content
  • Avoid installing Episerver.Find.CMS with Commerce Manager
  • MapperParsingException during indexing when ContentAPI Search is installed
  • Search queries fail when Solr version exceeds CMS version

See all 35 articles

Optimizely Website Support Policy Privacy Notice Website terms of use Cookie settings Trust center Third-Party Addons & Platforms
Deutsch