id:A id:B id:C id:D

*usually* works, but I have seen D appear first in the results for
certain queries.

Is there a query I can do or a better way to accomplish this?

It's a bit of a hack, but you could use boosts to order the docs:

id:A^4 id:B^3 id:C^2 id:D^1

Gorgeous! Does the job admirably. Thanks Yonik


Reply via email to