How to categorize posts for extraction and eventual faceting?

Hello all, and thanks in advance for any clarification here! Especially since this feels like a silly newbie question.

The documentation says that for categories there should be a meta property with some values that look similar to og:type: Extraction strategy | Algolia

What should that tag look like? Something like <meta name="category" property="article"> ? I tried using the og:type but the crawler did not add the category field to my indexed items.

Thanks again for any help!

Hi! It’s indeed not completely obvious from the documentation.
The tag should be one of those 2:

<meta property="article:section" content="My article section" />
<meta property="product:category" content="Some product category" />

(I don’t remember how those were chosen, maybe they are not that relevant anymore)

1 Like