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
fieldstringA facet field (AddFacetField(string, bool)).
pathstringA path starting with
/.