Can I index my text with html tags and markup?

Yes you can! Even better: we’ll automatically exclude the non-relevant text from the search.

In order to keep an optimal relevancy, we made the choice to exclude HTML/XML tags, and their attributes, from data being indexed and searchable.
In the following example, people would be able to search for any word in the description except the link tag itself. This means that the following record will not be returned when searching for href, target or _blank.
{
  "name": "Myth #9",
  "description": "In-house <a href=\"http://...\" target=\"_blank\">experts</a> are essential to get search right",
  ...
}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk