org.elasticsearch.indices.IndicesService.getEngineFactory()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(80)

本文整理了Java中org.elasticsearch.indices.IndicesService.getEngineFactory()方法的一些代码示例,展示了IndicesService.getEngineFactory()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。IndicesService.getEngineFactory()方法的具体详情如下:
包路径:org.elasticsearch.indices.IndicesService
类名称:IndicesService
方法名:getEngineFactory

IndicesService.getEngineFactory介绍

暂无

代码示例

代码示例来源:origin: org.elasticsearch/elasticsearch

/**
 * creates a new mapper service for the given index, in order to do administrative work like mapping updates.
 * This *should not* be used for document parsing. Doing so will result in an exception.
 *
 * Note: the returned {@link MapperService} should be closed when unneeded.
 */
public synchronized MapperService createIndexMapperService(IndexMetaData indexMetaData) throws IOException {
  final IndexSettings idxSettings = new IndexSettings(indexMetaData, this.settings, indexScopedSettings);
  final IndexModule indexModule = new IndexModule(idxSettings, analysisRegistry, getEngineFactory(idxSettings), indexStoreFactories);
  pluginsService.onIndexModule(indexModule);
  return indexModule.newIndexMapperService(xContentRegistry, mapperRegistry, scriptService);
}

代码示例来源:origin: org.elasticsearch/elasticsearch

reason);
final IndexModule indexModule = new IndexModule(idxSettings, analysisRegistry, getEngineFactory(idxSettings), indexStoreFactories);
for (IndexingOperationListener operationListener : indexingOperationListeners) {
  indexModule.addIndexOperationListener(operationListener);

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

/**
 * creates a new mapper service for the given index, in order to do administrative work like mapping updates.
 * This *should not* be used for document parsing. Doing so will result in an exception.
 *
 * Note: the returned {@link MapperService} should be closed when unneeded.
 */
public synchronized MapperService createIndexMapperService(IndexMetaData indexMetaData) throws IOException {
  final IndexSettings idxSettings = new IndexSettings(indexMetaData, this.settings, indexScopedSettings);
  final IndexModule indexModule = new IndexModule(idxSettings, analysisRegistry, getEngineFactory(idxSettings), indexStoreFactories);
  pluginsService.onIndexModule(indexModule);
  return indexModule.newIndexMapperService(xContentRegistry, mapperRegistry, scriptService);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

reason);
final IndexModule indexModule = new IndexModule(idxSettings, analysisRegistry, getEngineFactory(idxSettings), indexStoreFactories);
for (IndexingOperationListener operationListener : indexingOperationListeners) {
  indexModule.addIndexOperationListener(operationListener);

相关文章

微信公众号

最新文章

更多