<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Faceted Search with Headless API</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120925694" />
  <subtitle>Faceted Search with Headless API</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120925694</id>
  <updated>2026-04-06T23:56:01Z</updated>
  <dc:date>2026-04-06T23:56:01Z</dc:date>
  <entry>
    <title>Faceted Search with Headless API</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120925693" />
    <author>
      <name>Christopher Dawson</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120925693</id>
    <updated>2021-08-17T16:02:58Z</updated>
    <published>2021-07-07T18:37:02Z</published>
    <summary type="html">&lt;p&gt;I was hoping that someone from the community - or Liferay internal
  teams - could provide a simple example of how to pass back facet
  entries selected by a user to a headless resource?&lt;/p&gt;
&lt;p&gt;I am able to generate the Facets themselves via interaction with the
  SearchContext and include them in the response payload. It's just not
  clear to me what I need to do with them when a user selects one. For example:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Should I be converting them into Odata filters?&lt;/li&gt;
  &lt;li&gt;Is there a way to format them so that they are transformed into an Aggregation?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Any help on this would be much appreciated as I am unable to find
  documentation that deals with this very specific scenario.&lt;/p&gt;</summary>
    <dc:creator>Christopher Dawson</dc:creator>
    <dc:date>2021-07-07T18:37:02Z</dc:date>
  </entry>
</feed>
