Weighting based on meta "Content"

Hello,

I would like to weight my search based on the text in the “content” meta tag.

I am trying to add this information to my “weights” tab as I am using the standard (non-API) configuration. Unfortunately “Content” does not show up as a field in the weights tab and I cannot figure out what I am doing wrong :frowning:

Any help is appreciated.

Hi Steve,

I think that you need to also specify the meta tag data-type and possibly the swiftype class like this:

<meta class="swiftype" name="keywords" data-type="string" content="content goes here" />

There’s more information on it here: Crawler Configuration | Swiftype Documentation.

Hope this helps!
-R