Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi Mark,
Yeah, you're completely right—by default search results are sorted by relevance (as per the Episerver Find documentation).
For the score, check out the SearchHit class: it has a Score property. Whether you call GetResult()
or GetContentResult()
you can get Hits from the SearchResults class.
/Jake
Hi,
I have some custom objects indexed and would like to know if, when searching, I don't specify a sort order will the results be ordered be relevancy by default? I would assume they are?
Also, is it possible to get the relevancy score for each result at the time of searching for display and to prove that the results are in the correct order (according to the score)?
Thanks,
Mark