Score:1

Search: Do not index some parts of HTML

cn flag

We're indexing the rendered HTML output (rendered_item, type "Fulltext") of pages into elasticsearch using elasticsearch_connector.

Some parts of the HTML shall not be indexed because they contain automatically generated teaser elements for other content.

TYPO3 lets one define the parts of the HTML content to be included by adding HTML comment markers:

<html>
 <body>
  <!--TYPO3SEARCH_begin-->
   relevant content
  <!--TYPO3SEARCH_end-->
  irrelevant content
 </body>
</html>

Does such a thing exist for Drupal's search indexer, too? Or do I have to write my own search processor?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.