Sitefinity CMS comes included with a powerful Lucene-based search engine. Using Sitefinity, new search indexes can quickly be created. Once the index is in place, search boxes & results can be easily dragged & dropped onto any Sitefinity page.
However, by default Sitefinity will index the entire contents of a page. This includes elements that exist on all pages such as navigation, headers, footers, etc. These site-wide elements can impact the search results and pollute the snippets associated with each of the search results.
Removing Unwanted Content from Search Indexes
Each time a new search index is created, Sitefinity creates a new new ~/App_Code/Search/[SearchIndex-Name] folder. Inside this folder is a fieldsInfoProvider.xml file. This file defines the content that gets indexed, ignored or emphasized.
Sitefinity identifies content sections by matching HTML tags. These HTML section are defined in the fieldsInfoProvider.xml file. Here is some example HTML for a web page:...