@Override
    public String getBestNode(final String nodeName, final QuerySearchRequest request) {
        if (nodeName == null || nodeName.equals("null")) {
            if (queryNodeResolver == null) {
                return null;
            }
            try {
                final SearchRequest mappedRequest = mapRequest(request);
                final DocRef docRef = NullSafe.get(mappedRequest, SearchRequest::getQuery, Query::getDataSource);
                return queryNodeResolver.getNode(docRef);
            } catch (final RuntimeException e) {
                return null;
            }
        }
        return nodeName;
    }
Here to help testing, so we don't have to work out the row/col postitions
stroom-query/stroom-query-impl/src/main/java/stroom/query/impl/QueryServiceImpl.java