Class LocalSearchService

java.lang.Object
com.google.appengine.tools.development.AbstractLocalRpcService
com.google.appengine.api.search.dev.LocalSearchService
All Implemented Interfaces:
LocalRpcService

@AutoService(LocalRpcService.class) public class LocalSearchService extends AbstractLocalRpcService
A search service implementation when running appengine on a local machine.
  • Field Details

  • Constructor Details

    • LocalSearchService

      public LocalSearchService()
  • Method Details

    • getPackage

      public String getPackage()
      Description copied from interface: LocalRpcService
      Returns the package for the service, for example, "datastore_v3".
      Returns:
      a not null package name.
    • init

      public void init(LocalServiceContext context, Map<String,String> properties)
      Description copied from interface: LocalRpcService
      Initializes the service with a set of configuration properties. Must be called before a service is started.
      Specified by:
      init in interface LocalRpcService
      Overrides:
      init in class AbstractLocalRpcService
      Parameters:
      context - A context object for the application
      properties - A read-only Map of properties.
    • start

      public void start()
      Description copied from interface: LocalRpcService
      Puts a new service into "serving" mode. Aside from setting properties, the service is not functional until after having been started.
      Specified by:
      start in interface LocalRpcService
      Overrides:
      start in class AbstractLocalRpcService
    • stop

      public void stop()
      Description copied from interface: LocalRpcService
      Stops the service, releasing all of its resources.
      Specified by:
      stop in interface LocalRpcService
      Overrides:
      stop in class AbstractLocalRpcService
    • indexDocument

      public com.google.appengine.api.search.proto.SearchServicePb.IndexDocumentResponse indexDocument(LocalRpcService.Status status, com.google.appengine.api.search.proto.SearchServicePb.IndexDocumentRequest req)
    • indexDocumentForApp

      public com.google.appengine.api.search.proto.SearchServicePb.IndexDocumentResponse indexDocumentForApp(String appId, String indexId, com.google.apphosting.api.search.DocumentPb.Document doc)
    • deleteDocument

      public com.google.appengine.api.search.proto.SearchServicePb.DeleteDocumentResponse deleteDocument(LocalRpcService.Status status, com.google.appengine.api.search.proto.SearchServicePb.DeleteDocumentRequest req)
    • deleteDocumentForApp

      public com.google.appengine.api.search.proto.SearchServicePb.DeleteDocumentResponse deleteDocumentForApp(String appId, String indexId, String docId)
    • listIndexes

      public com.google.appengine.api.search.proto.SearchServicePb.ListIndexesResponse listIndexes(LocalRpcService.Status status, com.google.appengine.api.search.proto.SearchServicePb.ListIndexesRequest req) throws IOException
      Throws:
      IOException
    • listIndexesForApp

      public com.google.appengine.api.search.proto.SearchServicePb.ListIndexesResponse listIndexesForApp(String appId, com.google.appengine.api.search.proto.SearchServicePb.ListIndexesRequest req) throws IOException
      Throws:
      IOException
    • listDocuments

      public com.google.appengine.api.search.proto.SearchServicePb.ListDocumentsResponse listDocuments(LocalRpcService.Status status, com.google.appengine.api.search.proto.SearchServicePb.ListDocumentsRequest req)
    • listDocumentsForApp

      public com.google.appengine.api.search.proto.SearchServicePb.ListDocumentsResponse listDocumentsForApp(String appId, com.google.appengine.api.search.proto.SearchServicePb.ListDocumentsRequest req)
    • search

      public com.google.appengine.api.search.proto.SearchServicePb.SearchResponse search(LocalRpcService.Status status, com.google.appengine.api.search.proto.SearchServicePb.SearchRequest req)
    • searchForApp

      public com.google.appengine.api.search.proto.SearchServicePb.SearchResponse searchForApp(String appId, com.google.appengine.api.search.proto.SearchServicePb.SearchRequest req)
    • deleteSchema

      public com.google.appengine.api.search.proto.SearchServicePb.DeleteSchemaResponse deleteSchema(Object object, com.google.appengine.api.search.proto.SearchServicePb.DeleteSchemaRequest request)