public class IndexingUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
doDelete(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
IndexingStatus status) |
static void |
doUpdate(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
String xml,
IndexingStatus status) |
static void |
doUpdateContent(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
org.craftercms.core.service.Content content,
IndexingStatus status) |
static void |
doUpdateContent(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
org.craftercms.core.service.Content content,
Map<String,List<String>> additionalFields,
IndexingStatus status) |
static String |
getIndexNameStr(String indexId) |
static String |
getSiteBasedPath(String siteName,
String path) |
public static void doUpdate(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
String xml,
IndexingStatus status)
public static void doUpdateContent(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
org.craftercms.core.service.Content content,
IndexingStatus status)
throws IOException
IOExceptionpublic static void doUpdateContent(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
org.craftercms.core.service.Content content,
Map<String,List<String>> additionalFields,
IndexingStatus status)
throws IOException
IOExceptionpublic static void doDelete(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
IndexingStatus status)
Copyright © 2018 CrafterCMS. All rights reserved.