1 // Copyright 2012 Google Inc. All rights reserved.
3 package com
.google
.appengine
.api
.search
;
6 * An factory that creates default implementation of {@link SearchService}.
9 public interface ISearchServiceFactory
{
12 * Returns an instance of the {@link SearchService}. The instance
13 * will exist in the user provided namespace. The namespace must be
14 * valid, as per {@link NamespaceManager#validateNamespace(String)}
17 * @param namespace a namespace to be assigned to the returned
19 * @return the default implementation of {@link SearchService}.
20 * @throws IllegalArgumentException if the namespace is invalid
22 SearchService
getSearchService(String namespace
);