public Search search() {
        SearchHandler searchHandler = getSearchHandler();
        if (searchHandler == null)
            throw new UnsupportedOperationException("This JDisc does not have 'search' " + "configured.");
        return new Search(searchHandler);
    }
Returns a {@link Search}, used to perform search query operations on this container.

@return a Search instance
@throws UnsupportedOperationException if this JDisc does not have search configured
application/src/main/java/com/yahoo/application/container/JDisc.java