Copied to clipboard

Flag this post as spam?

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


  • Liam 22 posts 158 karma points
    Mar 24, 2014 @ 12:01
    Liam
    0

    Examine Member Index - Use front End

    Hi,

    I would like to be able to use the backend member searcher from a front end search. 

    I thought I could simply create another searcher which points to InternalMemberIndexSet (below, or even simply use the current member searcher?) 

    <add name="ExternalMemberSearch" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine" analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" indexSet="InternalMemberIndexSet" />

     

    From then I thought I could use the API to return results in a front end search

    var searcher = ExamineManager.Instance.SearchProviderCollection["ExternalMemberSearch"];

    The new searcher works backend in Examine Management but the same search returns nothing in my front end.

    Anything I am missing?

    Thanks.

    Liam

  • Liam 22 posts 158 karma points
    Mar 24, 2014 @ 12:54
    Liam
    100

    Sorted this, was something silly I was doing in my SearchCriteria/Field lookup.

Please Sign in or register to post replies

Write your reply to:

Draft