Generates a search root query based

Return

the generated query and result column name

Parameters

query

defines the query to execute