Class GrpcSearchApi

java.lang.Object
org.saidone.restless.sdk.GrpcSearchApi
All Implemented Interfaces:
org.alfresco.search.handler.SearchApi, org.alfresco.search.handler.SearchApiClient

public final class GrpcSearchApi extends Object implements org.alfresco.search.handler.SearchApiClient
SDK search over the shared repository gRPC query service.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates the SDK search adapter with default Feign error mapping.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<org.alfresco.search.model.ResultSetPaging>
    search(org.alfresco.search.model.SearchRequest request)
    Searches the workspace store under the client ticket's identity.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GrpcSearchApi

      public GrpcSearchApi(SearchServiceClient search)
      Creates the SDK search adapter with default Feign error mapping.
      Parameters:
      search - shared search service client
  • Method Details

    • search

      public org.springframework.http.ResponseEntity<org.alfresco.search.model.ResultSetPaging> search(org.alfresco.search.model.SearchRequest request)
      Searches the workspace store under the client ticket's identity. Supports AFTS and CMIS, bounded pagination and selected node fields. Indexed hits whose nodes were deleted are omitted.
      Specified by:
      search in interface org.alfresco.search.handler.SearchApi
      Parameters:
      request - SDK search request; defaults to AFTS, offset zero and a page size of 100
      Returns:
      HTTP 200 with entries, continuation, total when available, and scores when selected
      Throws:
      feign.FeignException - for invalid input, unsupported options or mapped repository failures under the default decoder