private boolean hasLocation(Item tree) {
        if (tree instanceof GeoLocationItem) {
            return true;
        }
        if (tree instanceof CompositeItem composite) {
            for (Item child : composite.items()) {
                if (hasLocation(child)) return true;
            }
        }
        return false;
    }
Searches a search cluster
This is an endpoint - searchers will never propagate the search to any nested searcher.

@param query the query to search
container-search/src/main/java/com/yahoo/prelude/fastsearch/VespaBackend.java