Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • vladzebu 59 posts 346 karma points
    Sep 22, 2009 @ 08:45
    vladzebu
    0

    Lucene search problem

    How to reindex the site from C# ? Can i fix the directory where the index filex to be created. If i reindex the site and i have a lot of nodes i can't search in that time . I want to reindex in other folder and when is finished to overite the current index file.

    Best regards , Vlad. 

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Sep 22, 2009 @ 08:56
    Dirk De Grave
    1

    Hi,

     

    If you really want to reindex the site from c#, go to Codeplex and have a look at the code for /umbraco/reindex.aspx, which does the internal reindexing

    Still, I'd rather use the existing one and having to create another. It will only affect those who want to do a search in the backend. You could quite easily inform these people of the unavailability of the indexer...

    Cheers,

    /Dirk

Please Sign in or register to post replies

Write your reply to:

Draft