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)
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.
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
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
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
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
Hi Ismail,
Thank you very much for your answers, helped me a lot!
Sincere regards,
Eduardo
is working on a reply...