<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to index post tags and have results]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I’ve create some indexes with custom fields but for one of the index I add the tags attached to the posts. Unfortunatly when I do a search I ca’t retrive the post with the tag. Any Ideas or help will be apprecied?</p>
<p dir="auto">in my functions :</p>
<pre><code>$tags = get_the_terms($post-&gt;ID, 'post_tag');
    $tagName = array();
    if ($tags) {
      foreach ($tags as $tag) {
        $tagName[] = $tag-&gt;name;
      }
    }
 $index['post_tag'] = implode($tagName);
</code></pre>
]]></description><link>https://fulltextsearch.org/forum/topic/102/how-to-index-post-tags-and-have-results</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Nov 2026 18:35:25 GMT</lastBuildDate><atom:link href="https://fulltextsearch.org/forum/topic/102.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Sep 2021 16:25:43 GMT</pubDate><ttl>60</ttl></channel></rss>