public interface CSSearchClient
  • Method Details

    • getTask

      @GET @Path("/tasks/{taskId}") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<TaskDTO>> getTask(@PathParam("taskId") String taskId)
    • getIndexConfiguration

      @GET @Path("/indexConfigurations/{indexConfigurationId}") rx.Observable<com.hybris.charon.RawResponse<IndexConfigurationDTO>> getIndexConfiguration(@PathParam("indexConfigurationId") String indexConfigurationId)
    • createIndexConfiguration

      @POST @Path("/indexConfigurations") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<IndexConfigurationDTO>> createIndexConfiguration(IndexConfigurationDTO indexConfiguration)
    • createOrUpdateIndexConfiguration

      @PUT @Path("/indexConfigurations/{indexConfigurationId}") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<IndexConfigurationDTO>> createOrUpdateIndexConfiguration(@PathParam("indexConfigurationId") String indexConfigurationId, IndexConfigurationDTO indexConfiguration)
    • deleteIndexConfiguration

      @DELETE @Path("/indexConfigurations/{indexConfigurationId}") rx.Observable<com.hybris.charon.RawResponse<Void>> deleteIndexConfiguration(@PathParam("indexConfigurationId") String indexConfigurationId)
    • getIndexType

      @GET @Path("/indexTypes/{indexTypeId}") rx.Observable<com.hybris.charon.RawResponse<IndexTypeDTO>> getIndexType(@PathParam("indexTypeId") String indexTypeId)
    • createIndexType

      @POST @Path("/indexTypes") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<IndexTypeDTO>> createIndexType(IndexTypeDTO indexType)
    • createOrUpdateIndexType

      @PUT @Path("/indexTypes/{indexTypeId}") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<IndexTypeDTO>> createOrUpdateIndexType(@PathParam("indexTypeId") String indexTypeId, IndexTypeDTO indexType)
    • deleteIndexType

      @DELETE @Path("/indexTypes/{indexTypeId}") rx.Observable<com.hybris.charon.RawResponse<Void>> deleteIndexType(@PathParam("indexTypeId") String indexTypeId)
    • getIndexTypeField

      @GET @Path("/indexTypes/{indexTypeId}/fields/{fieldId}") rx.Observable<com.hybris.charon.RawResponse<FieldDTO>> getIndexTypeField(@PathParam("indexTypeId") String indexTypeId, @PathParam("fieldId") String fieldId)
    • createIndexTypeField

      @POST @Path("/indexTypes/{indexTypeId}/fields") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<FieldDTO>> createIndexTypeField(@PathParam("indexTypeId") String indexTypeId, FieldDTO field)
    • createOrUpdateIndexTypeField

      @PUT @Path("/indexTypes/{indexTypeId}/fields/{fieldId}") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<FieldDTO>> createOrUpdateIndexTypeField(@PathParam("indexTypeId") String indexTypeId, @PathParam("fieldId") String fieldId, FieldDTO field)
    • deleteIndexTypeField

      @DELETE @Path("/indexTypes/{indexTypeId}/fields/{fieldId}") rx.Observable<com.hybris.charon.RawResponse<Void>> deleteIndexTypeField(@PathParam("indexTypeId") String indexTypeId, @PathParam("fieldId") String fieldId)
    • getSynonymDictionary

      @GET @Path("/synonymDictionaries/{synonymDictionaryId}") rx.Observable<com.hybris.charon.RawResponse<SynonymDictionaryDTO>> getSynonymDictionary(@PathParam("synonymDictionaryId") String synonymDictionaryId)
    • createSynonymDictionary

      @POST @Path("/synonymDictionaries") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<SynonymDictionaryDTO>> createSynonymDictionary(SynonymDictionaryDTO synonymDictionaryId)
    • createOrUpdateSynonymDictionary

      @PUT @Path("/synonymDictionaries/{synonymDictionaryId}") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<SynonymDictionaryDTO>> createOrUpdateSynonymDictionary(@PathParam("synonymDictionaryId") String synonymDictionaryId, SynonymDictionaryDTO synonymDictionary)
    • deleteSynonymDictionary

      @DELETE @Path("/synonymDictionaries/{synonymDictionaryId}") rx.Observable<com.hybris.charon.RawResponse<Void>> deleteSynonymDictionary(@PathParam("synonymDictionaryId") String synonymDictionaryId)
    • getIndex

      @GET @Path("/indexes/{indexId}") rx.Observable<com.hybris.charon.RawResponse<IndexDTO>> getIndex(@PathParam("indexId") String indexId)
    • createIndex

      @POST @Path("/indexes") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<IndexDTO>> createIndex(IndexDTO index)
    • deleteIndex

      @DELETE @Path("/indexes/{indexId}") rx.Observable<com.hybris.charon.RawResponse<Void>> deleteIndex(@PathParam("indexId") String indexId)
    • executeIndexStateRequest

      @POST @Path("/indexes/{indexId}/state") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<AbstractIndexStateResponseDTO>> executeIndexStateRequest(@PathParam("indexId") String indexId, AbstractIndexStateRequestDTO indexStateRequest)
    • createIndexerOperation

      @POST @Path("/indexer/indexerOperations") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<IndexerOperationDTO>> createIndexerOperation(IndexerOperationDTO indexerOperation)
    • getIndexerOperation

      @GET @Path("/indexer/indexerOperations/{indexerOperationId}") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<IndexerOperationDTO>> getIndexerOperation(@PathParam("indexerOperationId") String indexerOperationId)
    • patchIndexerOperation

      @PATCH @Path("/indexer/indexerOperations/{indexerOperationId}") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<IndexerOperationDTO>> patchIndexerOperation(@PathParam("indexerOperationId") String indexerOperationId, Map<String,Object> mergePatch)
    • executeIndexerOperationStateRequest

      @POST @Path("/indexer/indexerOperations/{indexerOperationId}/state") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<Void>> executeIndexerOperationStateRequest(@PathParam("indexerOperationId") String indexerOperationId, AbstractIndexerOperationStateRequestDTO indexerOperationStateRequest)
    • executeDocumentBatch

      @POST @Path("/indexes/{indexId}/documents/$batch") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<AsyncTaskResponseDTO>> executeDocumentBatch(@PathParam("indexId") String indexId, DocumentBatchRequestDTO documentBatchRequest)
    • search

      @POST @Path("/indexes/{indexId}/search") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<SearchResultDTO>> search(@HeaderParam("Accept-Language") String languageHeader, @HeaderParam("sap-cx-search-accept-qualifier") String qualifierHeader, @PathParam("indexId") String indexId, SearchQueryDTO searchQuery)
    • suggest

      @POST @Path("/indexes/{indexId}/suggest") @Produces("application/json") rx.Observable<com.hybris.charon.RawResponse<SuggestResultDTO>> suggest(@HeaderParam("Accept-Language") String languageHeader, @HeaderParam("sap-cx-search-accept-qualifier") String qualifierHeader, @PathParam("indexId") String indexId, SuggestQueryDTO suggestQuery)