So basically I'm creating a fulltext index, as described here: Fulltext search in Neo4j - Knowledge Base
Here's the created index:
CALL db.index.fulltext.createNodeIndex("titlesAndDescriptions",["Movie", "Book"],["title", "description", "review"])
I am then querying it like this:
CALL db.index.fulltext.queryNodes("titlesAndDescriptions", "title:matrix^3 description:matrix") YIELD node, score
RETURN node.title, node.review, score
Here I'm boosting the score using ^ so that the score get higher if a match happens on the title field.
What I would like is to boost the score in the same way if the node is of label Movie, so that my search prioritises movies over books.
Hope it's clearer :)