Copied to clipboard

Flag this post as spam?

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


  • Damion 96 posts 331 karma points
    Sep 04, 2019 @ 15:23
    Damion
    0

    Examine search working on dev but not test (Azure)

    We have a v8 app which uses Examine for it's search function.

    On the dev machines it's fine, returns what I expect it to, but when deployed to test on Azure it returns nothing (there is definitely content there) and throws no error.

    As it's only happening on test and nothing appears in the back-end logs how can I go about figuring this one out? Is there anything else I have to set up for test on Azure?

    Sorry if that's a bit vague but I'm kinda struggling with where to start on this one.

    thanks

  • Paul Sterling 718 posts 1534 karma points MVP 8x admin c-trib
    Sep 04, 2019 @ 17:19
    Paul Sterling
    0

    Hi Damion -

    There is a specific config for Examine when running on Azure (WebApps).

    https://our.umbraco.com/documentation/Getting-Started/Setup/Server-Setup/azure-web-apps#examine-v0180

    But, as of now, the steps in that documentation are for v7.

    I believe this comment on the issue has what you need to implement for v8 on Azure WebApps:

    https://github.com/umbraco/Umbraco-CMS/issues/4252#issuecomment-460120634

    And so in web.config you need an appSetting like this:

    <add key="Umbraco.Examine.LuceneDirectoryFactory" value="Examine.LuceneEngine.Directories.SyncTempEnvDirectoryFactory" />

  • Damion 96 posts 331 karma points
    Sep 05, 2019 @ 13:55
    Damion
    0

    Hi,

    thanks for the reply, looks like it is set up ok so I'm thinking it may be indexes. I've re-indexed all internal and external but still no joy.

Please Sign in or register to post replies

Write your reply to:

Draft