Copied to clipboard

Flag this post as spam?

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


  • Eduardo 106 posts 130 karma points
    Nov 08, 2010 @ 09:57
    Eduardo
    0

    Configuring Umbraco to run Examine indexer every 24 hours

    Hi folks,

    I want to use the Examine search engine in my web site http://www.be-computed.com. I know there is a section within umbraco configuration files that lets me run a proccess every specified time. The questions are:

    - May I use a Web Service or a function within a DLL?
    - Does the indexer run with actual configuration?(just finished installing Umbraco)

    Thanks beforehand.

    Sincere regards,
    Eduardo Macho

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Nov 08, 2010 @ 10:48
    Ismail Mayat
    0

    Eduardo,

    Is their a reason you want it to run every 24hours?  when pages are published they will be added to index, also on application startup (web server restart or config change or dumping new dll into bin) will also if index does not exist cause reindex to happen. I have a simple dashboard control in my instance that lists all the indexes and a button to rebuild them.  If you really want to schedule you can create a webservice to do it and call the webservice using the scheduler node in umbracoSettings I have done this in the past though not with examine but umbSearch.  It was on a site where for some strange reason every couple of days the index would corrupt couldnt figure out why but scheduled reindexing got round the issue.

    Regards

     

    Ismail

  • Eduardo 106 posts 130 karma points
    Nov 08, 2010 @ 10:54
    Eduardo
    0

    Hi Ismail,

    Thanks for your answer.

    Well, if indexer runs when publishing nodes then I don't have to run it manually.

    Now I want to do a search. Should I use the UmbracoExamine or Examine dlls?

    Thanks beforehand.

    Regards,
    Eduardo

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Nov 08, 2010 @ 10:58
    Ismail Mayat
    1

    Eduardo,

    Have a root on the forums theres plenty of links to how todo this you can start wtih http://farmcode.org/?tag=/examine and also view the videos on umbraco tv http://umbraco.org/help-and-support/video-tutorials/developing-with-umbraco however that costs a little but well worth the money there are 3 videos which will get you a search in no time.

    Regards

    Ismail

  • Eduardo 106 posts 130 karma points
    Nov 08, 2010 @ 11:32
    Eduardo
    0

    Hi Ismail,

    Thank you very much for your answers, helped me a lot!

    Sincere regards,
    Eduardo

Please Sign in or register to post replies

Write your reply to:

Draft