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 ... :/
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.
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.
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
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!
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
Thanks for sharing this Ill look into this when I got some time !
is working on a reply...