Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for prepareDelete (0.17 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            client.delete(request, listener);
        }
    
        @Override
        public DeleteRequestBuilder prepareDelete() {
            return client.prepareDelete();
        }
    
        @Override
        public DeleteRequestBuilder prepareDelete(final String index, final String id) {
            return client.prepareDelete(index, id);
        }
    
        @Override
        public ActionFuture<BulkResponse> bulk(final BulkRequest request) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            client.delete(request, listener);
        }
    
        @Override
        public DeleteRequestBuilder prepareDelete() {
            return client.prepareDelete();
        }
    
        @Override
        public DeleteRequestBuilder prepareDelete(final String index, final String id) {
            return client.prepareDelete(index, id);
        }
    
        @Override
        public ActionFuture<BulkResponse> bulk(final BulkRequest request) {
    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/suggest/settings/ArraySettings.java

        }
    
        protected void deleteFromArray(final String index, final String type, final String id) {
            final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH);
            try {
                client.prepareDelete().setIndex(actualIndex).setId(id).execute().actionGet(settings.getIndexTimeout());
                client.admin().indices().prepareRefresh().setIndices(actualIndex).execute().actionGet(settings.getIndicesTimeout());
    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. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        protected boolean delete(final String sessionId, final String url) {
            final String id = getId(sessionId, url);
            try {
                final DeleteResponse response =
                        getClient().get(c -> c.prepareDelete().setIndex(index).setId(id).setRefreshPolicy(RefreshPolicy.IMMEDIATE).execute());
                return response.getResult() == Result.DELETED;
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

        public HtmlResponse clearCrawlerIndex(final ActionForm form) {
            validate(form, messages -> {}, this::asIndexHtml);
            verifyToken(this::asIndexHtml);
            searchEngineClient.admin().indices().prepareDelete(//
                    fessConfig.getIndexDocumentCrawlerIndex() + ".queue", //
                    fessConfig.getIndexDocumentCrawlerIndex() + ".data", //
                    fessConfig.getIndexDocumentCrawlerIndex() + ".filter")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                                final BulkRequestBuilder bulkBuilder = c.prepareBulk();
                                for (final OpenSearchUrlQueue uq : urlQueueList) {
                                    bulkBuilder.add(c.prepareDelete().setIndex(index).setId(uq.getId()));
                                }
    
                                return bulkBuilder.setRefreshPolicy(RefreshPolicy.IMMEDIATE).execute();
                            });
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/Suggester.java

                return list.isEmpty();
            }).forEach(s -> {
                if (logger.isInfoEnabled()) {
                    logger.info("Delete index: {}", s);
                }
                client.admin().indices().prepareDelete(s).execute().actionGet(suggestSettings.getIndicesTimeout());
            });
        }
    
        public SuggestIndexer indexer() {
            return createDefaultIndexer();
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                    .actionGet(this.settings.getIndicesTimeout());
        }
    
        protected void deleteAnalyzerSettings() {
            client.admin().indices().prepareDelete(analyzerSettingsIndexName).execute().actionGet(settings.getIndicesTimeout());
        }
    
        protected void createAnalyzerSettings(final String settings, final String mappings) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top