Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prepareGetMappings (0.09 sec)

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

            final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH);
            try {
                boolean empty;
                try {
                    empty = client.admin().indices().prepareGetMappings(actualIndex).execute().actionGet(settings.getIndicesTimeout())
                            .getMappings().isEmpty();
                } catch (final IndexNotFoundException e) {
                    empty = true;
    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

                    logger.debug("Failed to create {} index.", index);
                }
            }
    
            final GetMappingsResponse getMappingsResponse = fesenClient.get(c -> c.admin().indices().prepareGetMappings(index).execute());
            final Map<String, MappingMetadata> indexMappings = getMappingsResponse.mappings();
            if (indexMappings == null || !indexMappings.containsKey("properties")) {
    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