search result

merav tg asked on April 20, 2016 16:57

Hey,

If you only set a search index for the smart search and do not set any ORDER BY definition, what is the logic that Kentico sort the products by?

thank you

Recent Answers


Chetan Sharma answered on April 20, 2016 17:14

By default Kentico search results ordering happens on SCORE. You can understand this by the confidence in the search result. Like Google.

Thanks Chetan

2 votesVote for this answer Mark as a Correct answer

merav tg answered on April 20, 2016 17:51

and the score logic is? how many time the searched word appear in the page?

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on April 20, 2016 18:05

Hi Merav,

I'm glad you are interested in this. It's based on A lot many factors. One of which you mentioned along with position of appearance, size of page. It makes used of TF-IDF and vector space model.

You may read here. Lucene Scoring

1 votesVote for this answer Mark as a Correct answer

David te Kloese answered on April 20, 2016 18:08

Hi,

Kentico uses the Lucene.Net search engine, exact scoring calculation is complex. You can find some info here:

Apache Lucene.

Some things to remember that influencing score:

  • number of occurences of the term
  • if its in the document name or in the content, meta data
  • if its just mentioned once in a lot of content or multiple times in short content

If you go to the search preview of your index you can see the results from the default transformation:

Image Text

Hope this helps you and your customer understand.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.