Interface CSSearchClient


  • public interface CSSearchClient
    • Method Detail

      • getIndexConfiguration

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        @GET
        @Path("/indexes/{indexId}")
        rx.Observable<com.hybris.charon.RawResponse<IndexDTO>> getIndex​(@PathParam("indexId")
                                                                        java.lang.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<java.lang.Void>> deleteIndex​(@PathParam("indexId")
                                                                                 java.lang.String indexId)
      • createIndexerOperation

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

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

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

        @POST
        @Path("/indexes/{indexId}/commit")
        @Produces("application/json")
        rx.Observable<com.hybris.charon.RawResponse<java.lang.Void>> commit​(@PathParam("indexId")
                                                                            java.lang.String indexId)
      • search

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

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