No scores in search hits

Trying to improve a search query I noticed while debuggning that all Litium.Framework.Search.Lucene.Hit objects returned from the search have NaN as score. If I set ExplainScore = true on the QueryRequest I can see the actual scores but they are still not available and do not affect the ranking.

Any ideas what’s wrong?

What I’m trying to achieve is that products whose name exactly matches the complete search phrase (not each word in the phrase) are ranked high. This should be doable through boosting some tags but it does not seem to work.

Litium version: 5

What does the query code look like?
Do you set any manual sorting? I think this will remove the scoring.

Seems like sortings were the reason, thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.