Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 936 posts 2571 karma points
    Nov 07, 2014 @ 16:03
    Claushingebjerg
    0

    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 936 posts 2571 karma points
    Nov 12, 2014 @ 10:31
    Claushingebjerg
    101

    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:

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

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

Please Sign in or register to post replies

Write your reply to:

Draft