Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setWaitForYellowStatus (0.15 sec)

  1. src/main/java/org/codelibs/fess/suggest/Suggester.java

                            .actionGet(suggestSettings.getIndicesTimeout());
    
                    client.admin().cluster().prepareHealth().setWaitForYellowStatus().execute().actionGet(suggestSettings.getClusterTimeout());
                    created = true;
                }
                return created;
            } catch (final Exception e) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            searchEngineClient.admin().cluster().prepareHealth().setWaitForYellowStatus().execute()
                    .actionGet(fessConfig.getIndexHealthTimeout());
    
            final SuggestSettingsBuilder settingsBuilder = SuggestSettings.builder();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                        throw new SuggestSettingsException("Failed to create " + actualIndex + "/" + type + " index.", e);
                    }
                    client.admin().cluster().prepareHealth(actualIndex).setWaitForYellowStatus().execute()
                            .actionGet(settings.getClusterTimeout());
                }
                if (empty) {
                    client.admin().indices().preparePutMapping(actualIndex)
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            if (searchEngineClient.createIndex(docIndex, toIndex, numberOfShards, autoExpandReplicas, resetDictionaries)) {
                searchEngineClient.admin().cluster().prepareHealth(toIndex).setWaitForYellowStatus().execute(ActionListener.wrap(response -> {
                    searchEngineClient.addMapping(docIndex, "doc", toIndex);
                    if (searchEngineClient.copyDocIndex(fromIndex, toIndex, replaceAliases) && replaceAliases
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        public void connect() {
            destroy();
            client = createClient();
    
            final ClusterHealthResponse healthResponse =
                    get(c -> c.admin().cluster().prepareHealth(targetIndices).setWaitForYellowStatus().execute());
            if (!healthResponse.isTimedOut()) {
                onConnectListenerList.forEach(l -> {
                    try {
                        l.onConnect();
                    } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                            createAlias(configIndex, indexName);
                        } else {
                            client.admin().cluster().prepareHealth(fessConfig.getIndexDocumentUpdateIndex()).setWaitForYellowStatus().execute()
                                    .actionGet(fessConfig.getIndexIndicesTimeout());
                            final GetIndexResponse response =
    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