public abstract class ElasticsearchIndexingUtils extends IndexingUtils
FIELD_NAME_EDITED_BY, FIELD_NAME_EDITED_ON| Constructor and Description |
|---|
ElasticsearchIndexingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
doDelete(ElasticsearchService elasticsearch,
String indexName,
String siteName,
String path,
UpdateStatus updateStatus) |
static Map<String,Object> |
doSearchById(ElasticsearchService elasticsearch,
String indexName,
String path) |
static void |
doUpdate(ElasticsearchService elasticsearch,
String indexName,
String siteName,
String path,
Map<String,Object> doc) |
static void |
doUpdate(ElasticsearchService elasticsearch,
String indexName,
String siteName,
String path,
String xml,
UpdateDetail updateDetail,
UpdateStatus updateStatus,
Map<String,Object> metadata) |
static void |
doUpdateBinary(ElasticsearchService elasticsearch,
String indexName,
String siteName,
String path,
Map<String,Object> additionalFields,
org.craftercms.core.service.Content content,
UpdateDetail updateDetail,
UpdateStatus updateStatus) |
static void |
doUpdateBinary(ElasticsearchService elasticsearch,
String indexName,
String siteName,
String path,
Map<String,Object> additionalFields,
org.springframework.core.io.Resource resource,
UpdateDetail updateDetail,
UpdateStatus updateStatus) |
getAdditionalFields, isMimeTypeSupportedpublic static Map<String,Object> doSearchById(ElasticsearchService elasticsearch, String indexName, String path)
public static void doDelete(ElasticsearchService elasticsearch, String indexName, String siteName, String path, UpdateStatus updateStatus)
public static void doUpdate(ElasticsearchService elasticsearch, String indexName, String siteName, String path, Map<String,Object> doc)
public static void doUpdate(ElasticsearchService elasticsearch, String indexName, String siteName, String path, String xml, UpdateDetail updateDetail, UpdateStatus updateStatus, Map<String,Object> metadata)
public static void doUpdateBinary(ElasticsearchService elasticsearch, String indexName, String siteName, String path, Map<String,Object> additionalFields, org.craftercms.core.service.Content content, UpdateDetail updateDetail, UpdateStatus updateStatus)
public static void doUpdateBinary(ElasticsearchService elasticsearch, String indexName, String siteName, String path, Map<String,Object> additionalFields, org.springframework.core.io.Resource resource, UpdateDetail updateDetail, UpdateStatus updateStatus)
Copyright © 2023 CrafterCMS. All rights reserved.