Learning to Rank for Query Auto-completion in the Legal Domain (Journal of the Brazilian Computer Society, 2025)