Skip to content

callumbwhyte/umbraco-facet-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Umbraco Facets Extensions

Umbraco Facet Extensions

NuGet release Our Umbraco project page

Getting started

This package is supported on Umbraco 8.1+ and requires Examine.Facets 1.1.0+.

Installation

Facet Extensions is available from NuGet, or as a manual download directly from GitHub.

NuGet package repository

To install from NuGet, run the following command in your instance of Visual Studio.

PM> Install-Package Our.Umbraco.Extensions.Facets

Usage

Read the Examine Facets docs for information about performing a search.

Normally it is possible to get a list of facets from a result like this:

results.GetFacet(string field);

Facet Extensions makes it possible to map facet results to any given type, including IPublishedContent. The values of the facets will be returned as an IEnumerable<T>.

results.GetFacet<T>(string field);

Contribution guidelines

To raise a new bug, create an issue on the GitHub repository. To fix a bug or add new features, fork the repository and send a pull request with your changes. Feel free to add ideas to the repository's issues list if you would to discuss anything related to the library.

Who do I talk to?

This project is maintained by Callum Whyte and contributors. If you have any questions about the project please get in touch on Twitter, or by raising an issue on GitHub.

Credits

The package logo uses the Filter icon from the Noun Project by DailyYouth, licensed under CC BY 3.0 US.

License

Copyright © 2020 Callum Whyte, and other contributors

Licensed under the MIT License.