I'm working on creating a custom search UI using the search API. Is it possible to retrieve the filter facets that have been configured in the main Workplace Search UI through the search API? For example, I created a filter facet for the Product field through the customizing filters API; is it possible to get the options for this filter facet back with the results in a search API call without specifying the facet options in the search request? I'm building my custom search UI to somewhat resemble the main Workplace Search UI and would like the filters to be the same if possible.
(On a related note - is there any way to embed the Workplace Search UI inside another page/application?)
Looks like no, the Search API doesn't currently have a way to return back facets that you don't specify as facet option in the request. If you have a support relationship with Elastic, I'd recommend that you file this as an Enhancement Request.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.