Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Claushingebjerg 845 posts 2221 karma points
    Nov 07, 2014 @ 16:03

    Searching Meta tags

    I would like to use the pages meat keywords for searching, but full text search seems to ignore them when they are inside the meta tag.

    Iv'e tried removing <head> from <TagsToRemove> and moving the meta tag ouside <head>

    Neither works.

    Simply rendering the keywords on the page work fine, but thats not really that great.

    Any idea on how to get theses words searched?

  • Claushingebjerg 845 posts 2221 karma points
    Nov 12, 2014 @ 10:31

    Ok, so i figured it out. Putting the solution here if anyone else runs into the problem ;)

    add your meta keywords property to the /config/ExamineIndex.config file like this:

          <add Name="bodyText" />
          <add Name="metaKeywords" />

    Examine the picks it up, and fulltextsearch includes it in the search.

Please Sign in or register to post replies

Write your reply to: