Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Developing with Sitefinity > Search Indices

Search Indices

  • Emil avatar

    Posted on May 24, 2009 (permalink)

    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?

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on May 25, 2009 (permalink)

    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.

    Reply

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Developing with Sitefinity > Search Indices