London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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"