Hi,
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.
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.
please share any other link or video's in Pdf content search in Umbraco
if(_examineManager.TryGetIndex(Constants.UmbracoIndexes.ExternalIndexName, out var externalIndex)&& _examineManager.TryGetIndex(PdfIndexConstants.PdfIndexName, out var pdfIndex))
Umbraco 8 Examine custom index
Hi, 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
As i following https://our.umbraco.com/documentation/reference/searching/examine/pdf-index/
But its not working
please share any other link or video's in Pdf content search in Umbraco if(_examineManager.TryGetIndex(Constants.UmbracoIndexes.ExternalIndexName, out var externalIndex)&& _examineManager.TryGetIndex(PdfIndexConstants.PdfIndexName, out var pdfIndex))
UmbracoIndexes - How to declare?
is working on a reply...