All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method |
Description |
void |
afterPropertiesSet() |
|
protected java.util.Map<java.util.Locale,java.lang.String> |
buildLocalizedName(CSSearchSnSearchProvider.ConverterContext converterContext,
java.util.Map<java.util.Locale,java.lang.String> source) |
|
protected java.lang.String |
buildQualifierHeader(java.util.Map.Entry<java.lang.String,java.util.List<SnQualifier>> entry) |
|
protected java.lang.String |
buildRequestExceptionMessage(java.lang.String message,
com.hybris.charon.exp.HttpException exception) |
|
void |
commit(SnContext context,
java.lang.String indexId) |
Makes sure that documents are stored on the index storage and are visible for queries.
|
protected QualifierDTO |
convertCurrencyQualifier(CSSearchSnSearchProvider.ConverterContext converterContext,
SnCurrency source) |
|
protected QualifierTypeDTO |
convertCurrencyQualifierType(CSSearchSnSearchProvider.ConverterContext converterContext,
SnIndexConfiguration indexConfiguration) |
|
protected DocumentBatchOperationRequestDTO |
convertDocumenBatchOperationRequest(SnDocumentBatchOperationRequest source) |
|
protected SnDocumentBatchOperationResponse |
convertDocumenBatchOperationResponse(DocumentBatchOperationResponseDTO source) |
|
protected DocumentBatchRequestDTO |
convertDocumenBatchRequest(SnDocumentBatchRequest source,
java.lang.String indexerOperationId) |
|
protected SnDocumentBatchResponse |
convertDocumenBatchResponse(DocumentBatchResponseDTO source) |
|
protected SnDocumentOperationStatus |
convertDocumenOperationStatus(java.lang.Integer statusCode) |
|
protected java.lang.String |
convertDocumenOperationType(SnDocumentOperationType source) |
|
protected DocumentDTO |
convertDocument(SnDocument source) |
|
protected FieldDTO |
convertField(CSSearchSnSearchProvider.ConverterContext converterContext,
SnField source) |
|
protected FieldTypeDTO |
convertFieldType(SnFieldType source) |
|
protected SnIndex |
convertIndex(IndexDTO source) |
|
protected IndexConfigurationDTO |
convertIndexConfiguration(CSSearchSnSearchProvider.ConverterContext converterContext,
SnIndexConfiguration source) |
|
protected SnIndexerOperation |
convertIndexerOperation(IndexerOperationDTO source) |
|
protected SnIndexerOperationStatus |
convertIndexerOperationStatus(IndexerOperationStatusDTO source) |
|
protected IndexerOperationStatusDTO |
convertIndexerOperationStatus(SnIndexerOperationStatus source) |
|
protected SnIndexerOperationType |
convertIndexerOperationType(IndexerOperationTypeDTO source) |
|
protected IndexerOperationTypeDTO |
convertIndexerOperationType(SnIndexerOperationType source) |
|
protected IndexTypeDTO |
convertIndexType(CSSearchSnSearchProvider.ConverterContext converterContext,
SnIndexType source) |
|
protected LanguageDTO |
convertLanguage(CSSearchSnSearchProvider.ConverterContext converterContext,
SnLanguage source) |
|
protected SearchQueryDTO |
convertSearchQuery(SnSearchQuery source) |
|
protected SnSearchResult |
convertSearchResult(SearchResultDTO source) |
|
protected SuggestQueryDTO |
convertSuggestQuery(SnSuggestQuery source) |
|
protected SnSuggestResult |
convertSuggestResult(SuggestResultDTO source) |
|
protected SynonymDictionaryDTO |
convertSynonymDictionary(CSSearchSnSearchProvider.ConverterContext converterContext,
SnSynonymDictionary source) |
|
protected SynonymEntryDTO |
convertSynonymEntry(SnSynonymEntry source) |
|
protected CSSearchClient |
createClient(SnIndexConfiguration indexConfiguration) |
|
SnIndex |
createIndex(SnContext context) |
Creates an index.
|
SnIndexerOperation |
createIndexerOperation(SnContext context,
SnIndexerOperationType indexerOperationType,
int totalItems) |
Creates a new indexer operation.
|
protected java.lang.String |
createLanguageHeader(SnContext context) |
|
protected java.lang.String |
createQualifierHeader(SnContext context) |
|
void |
deleteIndex(SnContext context,
java.lang.String indexId) |
Deletes an index (if it exists).
|
SnDocumentBatchResponse |
executeDocumentBatch(SnContext context,
java.lang.String indexId,
SnDocumentBatchRequest documentBatchRequest,
java.lang.String indexerOperationId) |
Executes a document batch.
|
void |
exportConfiguration(SnExportConfiguration exportConfiguration,
java.util.List<java.util.Locale> locales) |
Exports the configuration to the search provider.
|
protected void |
exportIndexConfiguration(CSSearchSnSearchProvider.ConverterContext converterContext,
SnIndexConfiguration indexConfiguration,
CSSearchClient client) |
|
protected void |
exportIndexTypes(CSSearchSnSearchProvider.ConverterContext converterContext,
java.util.List<SnIndexType> indexTypes,
CSSearchClient client) |
|
protected void |
exportSynonymDictionaries(CSSearchSnSearchProvider.ConverterContext converterContext,
java.util.List<SnSynonymDictionary> synonymDictionaries,
CSSearchClient client) |
|
protected boolean |
filterQualifierHeader(java.util.Map.Entry<java.lang.String,java.util.List<SnQualifier>> entry) |
|
ApiRegistryClientService |
getApiRegistryClientService() |
|
ClientFactory |
getClientFactory() |
|
CommonI18NService |
getCommonI18NService() |
|
DestinationService<ConsumedDestinationModel> |
getDestinationService() |
|
protected ma.glasnost.orika.MapperFacade |
getMapperFacade() |
|
protected void |
handleRequestException(java.lang.String message,
java.lang.Runnable handler) |
|
protected <T> T |
handleRequestException(java.lang.String message,
java.util.function.Supplier<T> handler) |
|
protected void |
registerMappings(ma.glasnost.orika.MapperFactory mapperFactory) |
|
SnSearchResult |
search(SnContext context,
java.lang.String indexId,
SnSearchQuery searchQuery) |
Executes a search query on a specific index.
|
void |
setApiRegistryClientService(ApiRegistryClientService apiRegistryClientService) |
|
void |
setClientFactory(ClientFactory clientFactory) |
|
void |
setCommonI18NService(CommonI18NService commonI18NService) |
|
void |
setDestinationService(DestinationService<ConsumedDestinationModel> destinationService) |
|
SnSuggestResult |
suggest(SnContext context,
java.lang.String indexId,
SnSuggestQuery suggestQuery) |
Executes a suggest query on a specific index.
|
SnIndexerOperation |
updateIndexerOperationStatus(SnContext context,
java.lang.String indexerOperationId,
SnIndexerOperationStatus status,
java.lang.String errorMessage) |
Updates the status of an indexer operation.
|