Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need to create custom index in Umbraco 8. I have done this a lot of times for Umbraco 7. There is no documentation how to do this in Umbraco 8. It tourns out that this is the only example so far. Can someone from the Umbraco HQ confirms if this is the right way to go, or there is another way. At least give us some guidelines - should we forget out the examine config files? I doubt that I am the only one who needs this information and my deadline is comming soon.
HQ have confirmed that the only way to create a custom index in V8 is code-first. There will no longer be any XML .config files, so you have to configure (most) configuration values through code in v8.
Thank you for the quick reply. Is this the correct approached.
Honestly, I don't know, as I've yet to attempt this in v8. Unfortunately there is no documentation yet for this, which is not great. There is an issue on the Document tracker about this: https://github.com/umbraco/UmbracoDocs/issues/1685
Hopefully someone will write an article about recommended way of configuring and working with custom index in Umbraco 8. I use custom indexes in almost every project that I work on and because of limited (none) documentation I have to contunue working with Umbraco 7. This situation is not good for Umbraco developers at all.
The offical way to create custom indexes can be found in this Gist: https://gist.github.com/hartviglarsen/44743b32d4eea8eda3fb6d49b60dd547
Note that you of course have to register the component in a composer too.
(via Twitter: https://twitter.com/meisterhartvig/status/1136184529734049792)
Creating custom indexes can now be found in the Umbraco documentation: https://our.umbraco.com/documentation/reference/searching/examine/indexing/ (Scroll down to ''Overriding Index Creation")
Tested and working in 8.4.1
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted