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
    Jun 06, 2016 @ 15:25

    Nupickers - Searching using Umbraco Examine

    Hi Guys,

    Does anybody know how I can query using the Umbraco Examine for nuPickers fields, using Lucene TypeheadList?

    I have a Real Estate node and through nuPickers, I will select the property type and the location.

    Now, how can I query and convert the below for Umbraco Examine please?

    nodes = rootNode.Descendants(ConstantNames.PropertyDocumentAliasName).Where(x => propertyTypesIds.Contains(x.GetPropertyValue<Picker>(ConstantNames.PropertyTypeAliasName).PickedKeys.First()) && localitiesIds.Contains(x.GetPropertyValue<Picker>(ConstantNames.PropertyLocalityAliasName).PickedKeys.First()));

    Thank you and appreciate any help.

    Kind Regards

  • Manish 373 posts 932 karma points
    Feb 20, 2017 @ 11:14

    Hi Simon

    I am facing the same issue are you able to achieve this?

    Pleas help on this


  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Apr 11, 2017 @ 07:08
    Hendy Racher

    Hi, just formatting the code to make it easer to read...

    nodes = rootNode
                x => propertyTypesIds.Contains(x.GetPropertyValue<Picker>(ConstantNames.PropertyTypeAliasName).PickedKeys.First()) 
                && localitiesIds.Contains(x.GetPropertyValue<Picker>(ConstantNames.PropertyLocalityAliasName).PickedKeys.First()));
  • Thomas 310 posts 597 karma points c-trib
    Oct 06, 2017 @ 11:14

    Did you find a solution for your problem ?

Please Sign in or register to post replies

Write your reply to: