This PR refactors the search logic a little and replaces SimpleFacets the Examine.Facets.
The purpose of Examine.Facets is to give a friendly and intuitive way to work with facets directly within Examine's fluent API.
Alongside this introduces Search Extensions and Facet Extensions to make working with faceted indexes easier. These tools help prepare the index values and cast / map the results to strongly typed objects.
I found 1 issue and 2 API improvements whilst doing this - I will leave this PR in a draft state until I've cleaned those up.
Open to feedback regarding the current state of the PR though 😊
This PR refactors the search logic a little and replaces SimpleFacets the Examine.Facets.
The purpose of Examine.Facets is to give a friendly and intuitive way to work with facets directly within Examine's fluent API.
Alongside this introduces Search Extensions and Facet Extensions to make working with faceted indexes easier. These tools help prepare the index values and cast / map the results to strongly typed objects.
I found 1 issue and 2 API improvements whilst doing this - I will leave this PR in a draft state until I've cleaned those up.
Open to feedback regarding the current state of the PR though 😊