Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isExists (0.05 sec)

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

            try {
                final GetResponse getResponse =
                        client.prepareGet().setIndex(settingsIndexName).setId(settingsId).execute().actionGet(getSearchTimeout());
    
                if (!getResponse.isExists()) {
                    doCreate = true;
                }
            } catch (final IndexNotFoundException e) {
                doIndexCreate = true;
                doCreate = true;
            }
    
            if (doCreate) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/Suggester.java

                final IndicesExistsResponse response =
                        client.admin().indices().prepareExists(getSearchAlias(index)).execute().actionGet(suggestSettings.getIndicesTimeout());
                if (!response.isExists()) {
                    final String mappingSource = getDefaultMappings();
                    final String settingsSource = getDefaultIndexSettings();
                    final String indexName = createIndexName(index);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            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) {
                final CreateIndexResponse indexResponse = fesenClient.get(c -> {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            try {
                final IndicesExistsResponse response =
                        client.admin().indices().prepareExists(analyzerSettingsIndexName).execute().actionGet(settings.getIndicesTimeout());
                if (!response.isExists()) {
                    createAnalyzerSettings(loadIndexSettings(), loadIndexMapping());
                }
                analyzerMap.put(analyzerSettingsIndexName, getAnalyzerNames());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            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);
            }
            return exists;
        }
    
    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