Interface CSSearchClient
public interface CSSearchClient
-
Method Summary
Modifier and TypeMethodDescriptionrx.Observable<com.hybris.charon.RawResponse<IndexDTO>>createIndex(IndexDTO index) rx.Observable<com.hybris.charon.RawResponse<IndexConfigurationDTO>>createIndexConfiguration(IndexConfigurationDTO indexConfiguration) rx.Observable<com.hybris.charon.RawResponse<IndexerOperationDTO>>createIndexerOperation(IndexerOperationDTO indexerOperation) rx.Observable<com.hybris.charon.RawResponse<IndexTypeDTO>>createIndexType(IndexTypeDTO indexType) rx.Observable<com.hybris.charon.RawResponse<FieldDTO>>createIndexTypeField(String indexTypeId, FieldDTO field) rx.Observable<com.hybris.charon.RawResponse<IndexConfigurationDTO>>createOrUpdateIndexConfiguration(String indexConfigurationId, IndexConfigurationDTO indexConfiguration) rx.Observable<com.hybris.charon.RawResponse<IndexTypeDTO>>createOrUpdateIndexType(String indexTypeId, IndexTypeDTO indexType) rx.Observable<com.hybris.charon.RawResponse<FieldDTO>>createOrUpdateIndexTypeField(String indexTypeId, String fieldId, FieldDTO field) rx.Observable<com.hybris.charon.RawResponse<SynonymDictionaryDTO>>createOrUpdateSynonymDictionary(String synonymDictionaryId, SynonymDictionaryDTO synonymDictionary) rx.Observable<com.hybris.charon.RawResponse<SynonymDictionaryDTO>>createSynonymDictionary(SynonymDictionaryDTO synonymDictionaryId) rx.Observable<com.hybris.charon.RawResponse<Void>>deleteIndex(String indexId) rx.Observable<com.hybris.charon.RawResponse<Void>>deleteIndexConfiguration(String indexConfigurationId) rx.Observable<com.hybris.charon.RawResponse<Void>>deleteIndexType(String indexTypeId) rx.Observable<com.hybris.charon.RawResponse<Void>>deleteIndexTypeField(String indexTypeId, String fieldId) rx.Observable<com.hybris.charon.RawResponse<Void>>deleteSynonymDictionary(String synonymDictionaryId) rx.Observable<com.hybris.charon.RawResponse<AsyncTaskResponseDTO>>executeDocumentBatch(String indexId, DocumentBatchRequestDTO documentBatchRequest) rx.Observable<com.hybris.charon.RawResponse<Void>>executeIndexerOperationStateRequest(String indexerOperationId, AbstractIndexerOperationStateRequestDTO indexerOperationStateRequest) rx.Observable<com.hybris.charon.RawResponse<AbstractIndexStateResponseDTO>>executeIndexStateRequest(String indexId, AbstractIndexStateRequestDTO indexStateRequest) rx.Observable<com.hybris.charon.RawResponse<IndexDTO>>rx.Observable<com.hybris.charon.RawResponse<IndexConfigurationDTO>>getIndexConfiguration(String indexConfigurationId) rx.Observable<com.hybris.charon.RawResponse<IndexerOperationDTO>>getIndexerOperation(String indexerOperationId) rx.Observable<com.hybris.charon.RawResponse<IndexTypeDTO>>getIndexType(String indexTypeId) rx.Observable<com.hybris.charon.RawResponse<FieldDTO>>getIndexTypeField(String indexTypeId, String fieldId) rx.Observable<com.hybris.charon.RawResponse<SynonymDictionaryDTO>>getSynonymDictionary(String synonymDictionaryId) rx.Observable<com.hybris.charon.RawResponse<TaskDTO>>rx.Observable<com.hybris.charon.RawResponse<IndexerOperationDTO>>patchIndexerOperation(String indexerOperationId, Map<String, Object> mergePatch) rx.Observable<com.hybris.charon.RawResponse<SearchResultDTO>>search(String languageHeader, String qualifierHeader, String indexId, SearchQueryDTO searchQuery) rx.Observable<com.hybris.charon.RawResponse<SuggestResultDTO>>suggest(String languageHeader, String qualifierHeader, String indexId, SuggestQueryDTO suggestQuery)
-
Method Details
-
getTask
-
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
-
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
-
getIndexTypeField
-
createIndexTypeField
-
createOrUpdateIndexTypeField
-
deleteIndexTypeField
-
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
-
getIndex
-
createIndex
-
deleteIndex
-
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)
-