Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for preparePutMapping (0.12 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                final AcknowledgedResponse putMappingResponse = fesenClient.get(c -> {
                    final String source = FileUtil.readText("mapping/" + mappingName + ".json");
                    return c.admin().indices().preparePutMapping(index).setSource(source, XContentType.JSON).execute();
                });
                if (putMappingResponse.isAcknowledged()) {
                    logger.info("Created {} mapping.", index);
                } else {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top