Try Now
More in this section

Forums / General Discussions / Exclude shared content from search results

Exclude shared content from search results

2 posts, 0 answered
  1. Tony Powell
    Tony Powell avatar
    3 posts
    27 Jan 2010
    10 Nov 2010
    Link to this post
    Is there an easy way to exclude shared content from search results? We use shared content to create manual, in-page menus and search results are returning these menu links. I read in an earlier forum post (couple years ago, actually) that there would be ways to filter out such content from the Services > Index admin interface, but I see none (I'm running 3.7 SP3).
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    10 Nov 2010
    Link to this post
    Hello Tony,

    You can take a look at this KB -How to customize the indexing of html documents.
    I am not sure whether it will help or not, but let me explain you how the index works. In Sitefinity there are two types of Index providers - ContentIndexProvider and PageIndexProvider

    ContentIndexProvider - uses Generic Content API and it always uses shared content items. Shared content items are items created through a Generic Content based module

    PageIndexProvider - it makes HttpRequest and gets HttpResponse. As a result the entire HTML of the page is indexed. In this case there is no difference between the objects - shared, not shared - just a text, whether they are from any other module etc.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered