Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for prepareRefresh (0.17 sec)

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

                        .setRetryOnConflict(5).execute().actionGet(getIndexTimeout());
                client.admin().indices().prepareRefresh().setIndices(settingsIndexName).execute().actionGet(getIndicesTimeout());
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to update suggestSettings.", e);
            }
        }
    
    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/settings/ArraySettings.java

                client.prepareUpdate().setIndex(actualIndex).setId(id).setDocAsUpsert(true).setDoc(builder).execute()
                        .actionGet(settings.getIndexTimeout());
                client.admin().indices().prepareRefresh().setIndices(actualIndex).execute().actionGet(settings.getIndicesTimeout());
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to add to array.", e);
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
                    final String index = fessConfig.getIndexDocumentUpdateIndex();
                    searchEngineClient.admin().indices().prepareRefresh(index).execute().actionGet();
                    final long numOfDeleted = searchEngineClient.deleteByQuery(index, queryBuilder);
                    logger.info("Deleted {} old docs.", numOfDeleted);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/Suggester.java

            return new PopularWordsRequestBuilder(client).setIndex(getSearchAlias(index));
        }
    
        public RefreshResponse refresh() {
            return client.admin().indices().prepareRefresh().execute().actionGet(suggestSettings.getIndexTimeout());
        }
    
        public void shutdown() {
            threadPool.shutdownNow();
        }
    
        public boolean createIndexIfNothing() {
            try {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                            numberOfSuggestDocs += res.getNumberOfSuggestDocs();
                            numberOfInputDocs += res.getNumberOfInputDocs();
                            client.admin().indices().prepareRefresh(index).execute().actionGet(settings.getIndicesTimeout());
                            docs.clear();
    
                            waitController.run();
                        }
                    }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                        scrollId = response.getScrollId();
                    }
                } finally {
                    SuggestUtil.deleteScrollContext(client, scrollId);
                }
                client.admin().indices().prepareRefresh(index).execute().actionGet(settings.getIndicesTimeout());
            } catch (final Exception e) {
                throw new SuggesterException("Failed to exec delete by query.", e);
            }
    
            return true;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            return numOfDeleted;
        }
    
        protected int refreshIndex(final SearchEngineClient searchEngineClient, final String index) {
            final RefreshResponse response = searchEngineClient.admin().indices().prepareRefresh(index).execute().actionGet();
            if (logger.isDebugEnabled()) {
                logger.debug("[{}] refresh status: {} ({}/{}/{})", index, response.getStatus(), response.getTotalShards(),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

        //                                                                              ======
        public RefreshResponse refresh() {
            return client.admin().indices().prepareRefresh(asEsIndex()).execute().actionGet(refreshTimeout);
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

        //                                                                              ======
        public RefreshResponse refresh() {
            return client.admin().indices().prepareRefresh(asEsIndex()).execute().actionGet(refreshTimeout);
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

        //                                                                              ======
        public RefreshResponse refresh() {
            return client.admin().indices().prepareRefresh(asEsIndex()).execute().actionGet(refreshTimeout);
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top