Search in meta tags

Jun 11, 2015 at 5:25 PM
Hi,

Can I somehow setup search to look in meta title og meta description?
And if how?

Thanks
Jul 20, 2015 at 3:10 PM
Hi,

If you go to your /Config/ folder and open ExamineIndex.config, you can specify the configuration for your various IndexSets. Find the one called FullTextIndexSet and you can add/modify a section there called IndexUserFields.

See the example below:
<IndexSet SetName="FullTextIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/FullText/">
    <IndexAttributeFields>
      <add Name="id" />
      <add Name="nodeName" />
      <add Name="nodeTypeAlias" />
    </IndexAttributeFields>
    <IndexUserFields>
        <add Name="myMetaTitleAlias" />
        <add Name="myMetaDescriptionAlias" />
    </IndexUserFields>
    <IncludeNodeTypes />
    <ExcludeNodeTypes />
</IndexSet>
There's a very good article about how to configure Examine on the Umbraco site: http://umbraco.com/follow-us/blog-archive/2011/9/16/examining-examine
Marked as answer by tommer70 on 7/20/2015 at 6:45 PM
Jul 21, 2015 at 1:44 AM
Cool, thanks a lot (y)