Copied to clipboard

Flag this post as spam?

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


  • Simon 692 posts 1068 karma points
    Aug 03, 2015 @ 12:13
    Simon
    0

    Matching JSON in Search

    Hi Guys,

    I need some help regarding ezSearch querying.

    I am trying to search not only be text but even by category. In my website I have categories, where I am searching for suppliers which falls under that category.

    Now, I am using nuPickers to create a relationship between supplier and category, where when I create a new supplier, I choose the categories, using nuPicker TypeHead.

    Now, I was trying to customize the ezSearch.cshtml macro partial view where I got the category ID from a dropdown but I need to match now with supplier category, where Supplier.Category, it returns a JSON. So part of my query string, I need to compare JSON.

    Does anybody knows how can I achieve it?

    Thank you.

  • Simon 692 posts 1068 karma points
    Aug 03, 2015 @ 12:22
    Simon
    0

    this is the error:

    Additional information: Cannot parse '-hideFromSearch:1 +(__IndexType:content +searchPath:1542 -template:0) +(pageTitle:restaurant* bodyText:restaurant* summary:restaurant* metaDescription:restaurant* nodeName:restaurant* Category:{'key':'1605','label':'Engineering'}* ) pageTitle:restaurant*^5 bodyText:restaurant*^4 summary:restaurant*^3 metaDescription:restaurant*^2 nodeName:restaurant*^1 Category:{'key':'1605','label':'Engineering'}*^6 ': Encountered " "}" "} "" at line 1, column 228
    
Please Sign in or register to post replies

Write your reply to:

Draft