JAL-4036 use the legacy endpoint (and report the FTS query when debug/trace enabled)