I need to know this too. I've got some third party information that's regurarly imported to a few custom database tables. To make the
new informaton searchable, the custom index must be rebuilt programmatically after each import. This was possible in Umbraco 7. Is it supported in Umbraco 8?
Many thanks, Ismail!
Btw, this is quite amazing. I've spent hours on this problem, but on the forum it only took a few seconds to get the right answer!
Rebuild index programmatically in Umbraco 8?
Is there a way to rebuild an index programatically in umbraco 8? Can't find anything in the docs.
There appears to be a way to re-index a specific node but I want to rebuild the entire index.
any ideas?
I need to know this too. I've got some third party information that's regurarly imported to a few custom database tables. To make the new informaton searchable, the custom index must be rebuilt programmatically after each import. This was possible in Umbraco 7. Is it supported in Umbraco 8?
Guys,
you can inject in
Regards
Ismail
When i try to inject IndexRebuilder into an ApiController i get a server error - Does it need to be an UmbracoApiController ?
Perfect, just the answer I was looking for. Cheers Ismail.
Many thanks, Ismail! Btw, this is quite amazing. I've spent hours on this problem, but on the forum it only took a few seconds to get the right answer!
To be honest took me a while to find it so your not alone
is working on a reply...