Copied to clipboard

Flag this post as spam?

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


  • Tom Cowling 144 posts 342 karma points
    Nov 12, 2014 @ 13:47
    Tom Cowling
    0

    ezSearch completely ignores my parameter

    Hi,

    I've installed ezSearch and haven't touched any of the configuration at all and running 7.1.8

    I can't seem to get the macro side of things configured on my search results page though. For some reason it's ignoring certain parameters I put into both the searchfields and previewfields.

    I've run a few tests by renaming pages, republishing the whole site and a few other bits, but can't seem to get the results I need.

    Example:

    @Umbraco.RenderMacro("ezSearch", new {rootContentNodeId="1058", rootMediaNodeId="null", indexType="CONTENT", searchFields="title, pageContents, nodeName", previewFields="title, pageContents", previewLength="250", pageSize="25", hideFromSearchField="hideFromSitemap", searchFormLocation="TOP"})

     

    I have a fields in most pages called title and pageContents (I renamed htis as part of testing wondering if contents was a key field used by something else). Interestingly, the title field shows up as part of the previewfields, but pageContents does not.

    When a search is run on a word I know is contained in the pageContents, I get no results back. If I run a search on a word that is in the title or nodeName, I get results back.

     

    Any ideas why ezSearch would be ignoring this one field? It's just a rich text box named pageContents..

     

Please Sign in or register to post replies

Write your reply to:

Draft