com.google.appengine.api.search

## Class AdminSearchServiceFactory

- java.lang.Object
- - com.google.appengine.api.search.AdminSearchServiceFactory

-     public final class AdminSearchServiceFactory
      extends java.lang.Object

  Builds `SearchService` instances that are pinned to a specific application and namespace regardless of the "current" appId provided by `ApiProxy.getCurrentEnvironment().getAppId()` and the "current" namespace provided by `NamespaceManager.get()`.

  Note: users should not access this class directly.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AdminSearchServiceFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SearchService` | `getSearchService(java.lang.String appId, SearchServiceConfig config)` Returns a `SearchService` that is pinned to a specific application and namespace.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AdminSearchServiceFactory

          public AdminSearchServiceFactory()

  - ### Method Detail

    - #### getSearchService

          public SearchService getSearchService(java.lang.String appId,
                                                SearchServiceConfig config)

      Returns a `SearchService` that is pinned to a specific application and namespace. This implementation ignores the "current" appId provided by `ApiProxy.getCurrentEnvironment().getAppId()` and the "current" namespace provided by `NamespaceManager.get()`.