More in this section

Forums / Developing with Sitefinity / Search Indices

Search Indices

2 posts, 0 answered
  1. Emil
    Emil avatar
    6 posts
    Registered:
    25 Feb 2009
    24 May 2009
    Link to this post
    I am trying to bind the generic content, news items dynamically to the user controls. How can I create index on the pages which use these controls?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    25 May 2009
    Link to this post
    Hi Emil,

    Generally Sitefinity supports News Indexing. You can create a new index and specify your start point or a certain page you want to be indexed.
    If you want to index only certain controls on a page you should modify ~/App_Data/Search/[NAME_OF THE _INDEX]/fieldsInfoProvider.xml. In this file you can set weight to all fields you want to search.

    Attributes:

    name = some name
    weight = -1 will not be indexed
    weight = 1 will be indexed
    filterTag = we are getting the div of the control
    filterAttributes - we are getting the ID ot the div


    Using filterTag and filterAttributes  will allow you to include or exclude some controls from the search results.
    Also each page has Searchable property that can also be used.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered