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,
UpdateStatus updateStatus) |
static void |
doUpdate(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
String xml,
UpdateStatus updateStatus) |
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,
UpdateStatus updateStatus) |
static void |
doUpdateContent(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
org.craftercms.core.service.Content content,
UpdateStatus updateStatus) |
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,
UpdateStatus updateStatus)
public static void doUpdateContent(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
org.craftercms.core.service.Content content,
UpdateStatus updateStatus)
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,
UpdateStatus updateStatus)
throws IOException
IOExceptionpublic static void doDelete(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
String id,
UpdateStatus updateStatus)
Copyright © 2019 CrafterCMS. All rights reserved.