Scoring results from multiple indices

Hi everybody,
i want to in a query, search on multiple indices. And then sort the results by score.
But the problem is that each query on the index returns a separate score.
How to integrate these Scores?

could you please provide us the query so we can help you better ?

1 Like

call db.index.fulltext.queryNodes('nodeIndex','x') YIELD node,score
return node.title as title,score
union
call db.index.fulltext.queryRelationships('relationIndex','x') YIELD relationship,score
return relationship.title as title,score

Now if we want to sort the results of this query by score, the scores are not comparable.