SearchFacetField Pennington.Search
Facet dimensions the search index can surface for client-side filtering. Combine with bitwise OR to enable several at once.
Fields
AreaSearchFacetField- Default:
4Facet on the content area — the first URL segment after any locale prefix. NoneSearchFacetField- Default:
0No facets are generated. SectionSearchFacetField- Default:
1Facet onSectionLabel. TagsSearchFacetField- Default:
2Facet on page tags (front matter implementingITaggable).
Pennington.Search.SearchFacetField
namespace Pennington.Search;
/// Facet dimensions the search index can surface for client-side filtering. Combine with bitwise OR to enable several at once.
public enum SearchFacetField
{
/// Facet on the content area — the first URL segment after any locale prefix.
public static const SearchFacetField Area
;
/// No facets are generated.
public static const SearchFacetField None
;
/// Facet on SectionLabel.
public static const SearchFacetField Section
;
/// Facet on page tags (front matter implementing ITaggable).
public static const SearchFacetField Tags
;
}