Copied to clipboard

Flag this post as spam?

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

  • nickornotto 392 posts 884 karma points
    21 days ago

    How to search Examine by Udi (content picker) property

    I am trying to query Examine by a content picker value - since it is an Udi then I need to provide Udi to the query. It looks like examine is not supporting it and splitting Udi value to bits by : and

    This is the query I get

    Category: null, LuceneQuery: {+(+__IndexType:content +__NodeTypeAlias:product) +(categoryId:umb categoryId:document categoryId:671cf7620759444fa54ccaa2f23b8d2a)}

    And this is how I add the property to the query:

    searchQuery = searchQuery.And().Field("categoryId", "umb://document/671cf7620759444fa54ccaa2f23b8d2a");

    Anyone knows how to lookup Examine index by a property that contains Udi?

    I am using version 10.0.0 but I saw from other posts that the same thing is happening in Umbraco 8.

    Not sure what happened to Examine but it worked well with Udi in version 7.15.3. we have the old site version working well.

  • Paul Seal 511 posts 2804 karma points MVP 5x c-trib
    1 week ago
    Paul Seal


    This blog post I did for v8 should help you.

    It should be fairly similar for v10 but i haven't tried.

    Kind regards

    Paul Seal

Please Sign in or register to post replies

Write your reply to: