Go Back
  • Removing Navigation from Search Results

    Sitefinity CMS Search - Based on Lucene 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:...

  • Working with Sitefinity Search

    Sitefinity ASP.NET CMS offers an advanced search service that allows you to quickly and easily find information managed by the CMS.  This webinar demonstrates how to index custom data, hide data, create new search indexes and deliver fast & relevant search results.

    The notes referenced in this webinar can be found here (opens in a new window).

    Topics covered in this webinar:

    • Overview of Sitefinity Search
    • Creating new Search Indexes
    • Using Sitefinity Search Controls
    • Overview of Lucene and Lucene.Net
    • Brief look at Lucene Luke
    • Advanced Lucene Search Queries
    • Enabling wildcard & fuzzy searches
    • Emphasizing / Deemphasizing search results
    • Creating a Custom Search Provider