ISearchServiceFactory (Google App Engine API for Java)

com.google.appengine.api.search

Interface ISearchServiceFactory



  • public interface ISearchServiceFactory
    A factory that creates default implementation of SearchService.
    • Method Detail

      • getSearchService

        @Deprecated
        SearchService getSearchService(java.lang.String namespace)
        Returns an instance of the SearchService. The instance will exist in the user provided namespace. The namespace must be valid, as per NamespaceManager#validateNamespace(String) method. Equivalent to getSearchService(SearchServiceConfig.newBuilder().setNamespace(namespace).build())
        Parameters:
        namespace - a namespace to be assigned to the returned search service.
        Returns:
        the default implementation of SearchService.
        Throws:
        java.lang.IllegalArgumentException - if the namespace is invalid