Copied to clipboard

Flag this post as spam?

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


  • Dan Sørensen 102 posts 327 karma points
    Mar 20, 2014 @ 15:45
    Dan Sørensen
    0

    Making search function with LeadingWildcards enabled

    Im trying to make my own search provider that should allow LeadingWildcards And I tried what he did at the last post from this thread

    http://our.umbraco.org/forum/developers/api-questions/12168-Examine-Leading-wildcards?p=1

    But I cant find out what im doing worng with creating my own seacher like

    public class MyUmbracoExamineSearcher : UmbracoExamineSearcher
    {
        public MyUmbracoExamineSearcher() : base()
        {
            this.EnableLeadingWildcards = true;
        }
    }
    

    I got an error saying MyUmbracoExamineSearcher method must return a type. maybe im trying to make the it the worng place Im really lost with this search function ... :/

    Hope someone can help!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 22, 2014 @ 17:04
    Jan Skovgaard
    0

    Hi Dan

    I'm no examine guru myself but I think you might be able to learn something from reading this examine explanation by Peter Gregory from the documentation page.

    Also make sure to checkout the rest of the documentation on Examine.

    I noticed that the post you're reffering too is written in 2011...things may also have changed in the API, which could also be the reason you're getting an error.

    Hopet his helps.

    /Jan

  • Dan Sørensen 102 posts 327 karma points
    Mar 24, 2014 @ 10:40
    Dan Sørensen
    0

    Thanks for sharing this Ill look into this when I got some time !

Please Sign in or register to post replies

Write your reply to:

Draft