Problems with custom_score (resolved)


Hey there! I'm trying to implement a custom scoring method for my query, and the query looks like this:

However, when I view the results of the query, the score attribute on things is None, but I expected it to be at least 10. Is the custom_score block of my query too high, so it's not indexing the right documents? Any insight would be appreciated!


(Adrien Grand) #2

Maybe you just need to set track_scores=true?


So update: Using a sort will negate any scoring of the results (which makes sense in hindsight).

(system) #4