Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for preparePutMapping (0.21 sec)

  1. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                            .actionGet(settings.getClusterTimeout());
                }
                if (empty) {
                    client.admin().indices().preparePutMapping(actualIndex)
                            .setSource(XContentFactory.jsonBuilder().startObject().startObject("properties").startObject(FieldNames.ARRAY_KEY)
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. 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