Copied to clipboard

Flag this post as spam?

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


  • Mila Pandurska 75 posts 353 karma points
    May 30, 2019 @ 13:26
    Mila Pandurska
    0

    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.

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    May 30, 2019 @ 13:36
    Dan Diplo
    0

    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.

  • Mila Pandurska 75 posts 353 karma points
    May 30, 2019 @ 13:44
    Mila Pandurska
    0

    Thank you for the quick reply. Is this the correct approached.

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    May 30, 2019 @ 15:45
    Dan Diplo
    100

    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

  • Mila Pandurska 75 posts 353 karma points
    May 31, 2019 @ 09:22
    Mila Pandurska
    0

    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.

  • Arnold Visser 418 posts 778 karma points hq c-trib
    Jun 05, 2019 @ 08:06
    Arnold Visser
    0

    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)

  • Jonathon Cove 26 posts 101 karma points
    Feb 21, 2020 @ 15:46
    Jonathon Cove
    0

    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

  • Anil 1 post 71 karma points
    Dec 21, 2021 @ 03:50
    Anil
    0

    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?

Please Sign in or register to post replies

Write your reply to:

Draft