Avoid redundant query parse when Tantitvy 0.20 is available
We currently parse the query twice to extract raw terms to send to UMTHES' releated terms API. Using build_query_from_user_input_ast
from the upcoming Tantivy 0.20 should enable us to avoid this redundant work.