Copied to clipboard

Flag this post as spam?

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


  • Jayesh Tanna 2 posts 72 karma points
    Nov 24, 2015 @ 14:56
    Jayesh Tanna
    0

    ezsearch not giving result

    Hi All,

    I have tried yo use the following macro for the ezsearch but not giving any result.

    In examine management tool, when I am trying to search, its working over there but not in razor view.

    Here is my macro list. I have tried following ways:

    1) @Umbraco.RenderMacro("ezSearch", new { searchFormLocation = "NONE" })

    2) @Umbraco.RenderMacro("ezSearch", new { rootContentNodeId = "", rootMediaNodeId = "", indexType = "BOTH", searchFields = "nodeName,metaTitle, metaDescription, metaKeywords, bodyText", previewFields = "", previewLength = "255", pageSize = "10", hideFromSearchField = "", searchFormLocation = "NONE" })

    Please help me. How can I make it to work???

  • MrFlo 159 posts 403 karma points
    Nov 24, 2015 @ 16:06
    MrFlo
    0

    Hello Jayesh,

    I had this one time. I thought only the macro was enough to install but no.

    1) Check if you have those files: /App_Code/ezSearchBoostrapper.cs /bin/Our.Umbraco.ezSearch.dll

    2) Check if you have something in your examine index developer section external search index

    3) I think you need at least one preview field. You don't need to initialise empty thing they are default value in the macro

    Mr.FLo

  • Jayesh Tanna 2 posts 72 karma points
    Nov 24, 2015 @ 16:19
    Jayesh Tanna
    0

    Hi Mr.Flo,

    Thank you for replying.

    I have tried all three steps given by you but the result is same.

  • MrFlo 159 posts 403 karma points
    Nov 24, 2015 @ 17:19
    MrFlo
    0

    You have a result when you try a search in dev examine?

Please Sign in or register to post replies

Write your reply to:

Draft