Thank you for creating this great module!
Problem/Motivation
I am attempting to use this module to load faceted results from Azure AI Search resources. I am able to manually load defined facets via manually modifying the facets parameter. It seems this module does not yet support requesting facets nor displaying facet options. I will work around this issue, near term, with custom module code. I will try to propose patches, when possible.
Steps to reproduce
Define an Azure AI Search server & index with at least one Facetable field. Ensure the `facets` module is installed. Create a View that loads results from the defined Azure AI Search index. Visit `/admin/config/search/facets`. Note that the Facets module fails to find any facet sources.
Proposed resolution
When setting a field as Facetable in an index, it should automatically appear as a Facet Source & allow typical Facet configuration options. Queries sent to Azure AI Search should automatically include users' facet choices based on relevant Facets configuration.
Remaining tasks
Determine whether this functionality should be available by default, provided via a sub-module or another contrib module.
User interface changes
UI provided by Facets module should be positively affected based on automatic registration of Facet Sources by this module. If Facet Sources become available, users will be able to use Facets module to configure facets on Views pages reliant on Azure AI Search.
API changes
Query parameters will need to be modified to pass along built facet query strings.
See this documentation page for more information.
Data model changes
Data model changes will not be necessary.