November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
What's written in "WildCardFor"? This would typically happend if you have not specified .InField(...) values if you have another .For(..) in your WildCardFor method.
I found my WildCard method here: http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=72508
public static IQueriedSearch<TSource, QueryStringQuery> WildcardFor<TSource>(this ITypeSearch<TSource> search, string queryString)
{
return new Search<TSource, QueryStringQuery>(search, context =>
{
var query = new QueryStringQuery(queryString); context.RequestBody.Query = query;
});
}
If you read the first post in that thread, the goal is to search in all fields. In your case, you need to limit the wildcard search to certain fields. Here is an example on how to do just that:
http://joelabrahamsson.com/wildcard-queries-with-episerver-find/
On my Unified Search page I'm getting search hits on fields in the index I don't want to search in.
Search examples and result:
"Model" -> Result is all the pages and files in the solution
"ArticlePage" -> Result is all pages of type ArticlePage
I'm guessing it has to do with these (or similar) values in the Index:
The text "Model" and "ArticlePage" is not written on any page or in any file, so I sholdn't get any hits searching for them.