Copied to clipboard

Flag this post as spam?

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

  • Saif Obeidat 79 posts 296 karma points
    Apr 02, 2019 @ 09:14
    Saif Obeidat

    How to use Examine search for a particular parent


    I trying to do a simple search using Examine search as per Umbraco documentation:

    @if (!string.IsNullOrEmpty(Request.QueryString["query"]))    
        @foreach (var result in Umbraco.TypedSearch(Request.QueryString["query"]))
                <a href="@result.Url">@result.Name</a>

    this code works fine, but it searches the entire website, and what i want is to search for a specific parent .

    How can this be done?


Please Sign in or register to post replies

Write your reply to: