Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Yes you can here is a simple example where the importance is higher for hits in Author then in the other field, content, I am searching on :
client.Search<BlogPost>()
.For("cyklade")
.InField(x => x.Content).AndInField(x => x.Author,4).WithHighlight(x => x.Content).GetResult();
You can read more about searching in the documentation at http://find.episerver.com/Documentation
Hope that helps.
Hi
It is posible to set priority on properties/fields?
I want that a document/page with a hit in the property "Heading" would be rated higher than a document with a hit in the property "MainBody"