1. @sitecore-cloudsdk/search/browser

FacetTypeFilter

Version:

Type

Type

Import path

@sitecore-cloudsdk/search/browser

Filter for facet values.

Used for getting search results from certain facet values only.

Case-sensitive.

If a facet value doesn't match any of the returned content, the facet value will be excluded from the response.

Signature

export type FacetTypeFilter = {
  type: "and" | "or";
  values: ArrayOfAtLeastOne<string> | ArrayOfAtLeastOne<FacetFilter>;
};

Examples

{
  type: "and";
  values: [ new ComparisonFacetFilter("eq", "Europe") ]
}
If you have suggestions for improving this article, let us know!