If i have two managed properties say "A" and "B". And in the results my search phrase in some results is found in "A" and in some results is found in "B". Then i want to ensure that the results which contains search phrase in "A" should come first(should be boosted) than "B"

1 Answer 1


Here's my answer from my blog:

You can try to add a managed property boost on A where you match on #. Or you can use FQL and xrank. Something like below where you query for "my query", but boost the items where the same query appears in A.

xrank(string("my query", mode="simpleall"), A:string("my query", mode="simpleall"), boost=5000)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.