Skip to content

rankingScoreDetails vectorSort value #5064

Answered by qixdev
qixdev asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, your answer was a bit off topic to my original question, although it is always interesting how it works under the hood.
I felt like I am wasting your time, so looked around the code and I seems I found the answer to my question:

The main reason for vectorSort appearing in some cases, is that meilisearch checks whether the keyword search results were good enough to return. And if they are, no semantic search is made, thus there is no vectorSort in _rankingScoreDetails
Here is the snippet:

it is in the milli/src/search/hybrid.rs file

Sorry if bothered you and thank you for helping me.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@qixdev
Comment options

@dureuill
Comment options

@qixdev
Comment options

Answer selected by qixdev
@qixdev
Comment options

@dureuill
Comment options

dureuill Dec 2, 2024
Collaborator

@qixdev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants