Table of Contents

Method Facet

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

Facet(string, string)

Matches documents in the facet category path or any category below it: Facet("genre", "/fiction") matches /fiction and /fiction/classic.

public static FacetQuery Facet(string field, string path)

Parameters

field string

A facet field (AddFacetField(string, bool)).

path string

A path starting with /.

Returns

FacetQuery