Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prepareExists (0.1 sec)

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

        }
    
        protected void createMapping(final String mappingName) {
            boolean exists = false;
            try {
                final IndicesExistsResponse response = fesenClient.get(c -> c.admin().indices().prepareExists(index).execute());
                exists = response.isExists();
            } catch (final IndexNotFoundException e) {
                // ignore
            }
            if (!exists) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            boolean exists = false;
            try {
                final IndicesExistsResponse response =
                        client.admin().indices().prepareExists(indexName).execute().actionGet(fessConfig.getIndexSearchTimeout());
                exists = response.isExists();
            } catch (final Exception e) {
                logger.debug("Failed to check {} index status.", indexName, e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top