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
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???
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
Hi Mr.Flo,
Thank you for replying.
I have tried all three steps given by you but the result is same.
You have a result when you try a search in dev examine?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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???
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
Hi Mr.Flo,
Thank you for replying.
I have tried all three steps given by you but the result is same.
You have a result when you try a search in dev examine?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.