Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for updateAlias (0.12 sec)

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

        public void switchIndex() {
            try {
                final List<String> updateIndices = new ArrayList<>();
                final String updateAlias = getUpdateAlias(index);
                final IndicesExistsResponse updateIndicesResponse =
                        client.admin().indices().prepareExists(updateAlias).execute().actionGet(suggestSettings.getIndicesTimeout());
                if (updateIndicesResponse.isExists()) {
    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/es/client/SearchEngineClient.java

        public void addDocumentMappingRewriteRule(final UnaryOperator<String> rule) {
            docMappingRewriteRuleList.add(rule);
        }
    
        public boolean updateAlias(final String newIndex) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String updateAlias = fessConfig.getIndexDocumentUpdateIndex();
            final String searchAlias = fessConfig.getIndexDocumentSearchIndex();
            final GetIndexResponse response1 =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    searchEngineClient.addMapping(docIndex, "doc", toIndex);
                    if (searchEngineClient.copyDocIndex(fromIndex, toIndex, replaceAliases) && replaceAliases
                            && !searchEngineClient.updateAlias(toIndex)) {
                        logger.warn("Failed to update aliases for {} and {}", fromIndex, toIndex);
                    }
                }, e -> logger.warn("Failed to reindex from {} to {}", fromIndex, toIndex, e)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top