This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

SearchFacetField Pennington.Search

Facet dimensions the search index can surface for client-side filtering. Combine with bitwise OR to enable several at once.

Fields

Area SearchFacetField
Default: 4
Facet on the content area — the first URL segment after any locale prefix.
None SearchFacetField
Default: 0
No facets are generated.
Section SearchFacetField
Default: 1
Facet on SectionLabel.
Tags SearchFacetField
Default: 2
Facet on page tags (front matter implementing ITaggable).

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
; }