More in this section
Forums / Developing with Sitefinity / Problem Updating Custom Search Index

Problem Updating Custom Search Index

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. Brian
    Brian avatar
    31 posts
    25 Jun 2009
    22 Feb 2011
    Link to this post
    I've written an interface in the admin section of Sitefinity for our client to be able to enter information about different companies in their City (Address, Description, etc.). 

    I used this article to develop a custom search index & everything is working perfect.

    The problem I'm running into is from the article above, I can't wrap my head around how to add, update & delete locations from my custom search index without reindexing the entire index.  This post helped me run the entire index & this post talks about partial updates to the index. 

    I'm just not sure how to get partial index updates working with Gabe's example off

    Any help would be greatly appreciated!

  2. Brian
    Brian avatar
    31 posts
    25 Jun 2009
    23 Feb 2011
    Link to this post
  3. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    28 Feb 2011
    Link to this post
    Hello Brian,

    When you call the index method of the IndexingService you can pass a parameter which tells the service whether the index should be reindexed or changes should be appended to the index. Bellow is the implementation of this method:
    /// <summary>
    /// Crates an index for all pages and documents provided by all registered clients
    /// </summary>
    public void Index(bool appendToIndex)
        IndexingManager.StartIndexing(this, appendToIndex);

    If you wish only to append changes to the index you should use call the Index method passing true as the parameter value.

    Radoslav Georgiev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Register for webinar
3 posts, 0 answered