Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for delete$all (0.07 sec)

  1. cmd/metacache-manager.go

    		v.status = scanStateError
    		m.mu.Lock()
    		m.trash[k] = v
    		m.mu.Unlock()
    	}
    }
    
    // deleteAll will delete all caches.
    func (m *metacacheManager) deleteAll() {
    	m.init.Do(m.initManager)
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	for bucket, b := range m.buckets {
    		b.deleteAll()
    		delete(m.buckets, bucket)
    	}
    }
    
    // checkMetacacheState should be used if data is not updating.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            rootLogger.addHandler(handler);
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            // close runner
            runner.close();
            // delete all files
            runner.clean();
        }
    
        public void test_executeTx() throws Exception {
            final CrawlerWebServer server = new CrawlerWebServer(7070);
            server.start();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. internal/store/queuestore_test.go

    	}
    	keys = store.List()
    
    	if len(keys) != 10 {
    		t.Fatalf("List() Expected: 10, got %d", len(keys))
    	}
    	if len(keys) != store.Len() {
    		t.Fatalf("List() Expected: 10, got %d", len(keys))
    	}
    
    	// Delete all
    	for _, key := range keys {
    		err := store.Del(key)
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	// Re-list
    	keys = store.List()
    	if len(keys) > 0 || err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            super.setUp();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            // close runner
            runner.close();
            // delete all files
            runner.clean();
        }
    
        public void test_insert_deleteTx() {
            final OpenSearchAccessResult accessResult1 = new OpenSearchAccessResult();
            accessResult1.setContentLength(Long.valueOf(10));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/main/resources/fess_label_ru.properties

    labels.search_list_configuration=Search
    labels.search_list_button_delete=Удалить
    labels.search_list_delete_confirmation=Do you really want to delete?
    labels.search_list_button_delete_all=Delete all with this query
    labels.search_list_delete_all_confirmation=Do you really want to delete all with this query?
    labels.search_list_button_cancel=Cancel
    labels.failure_url_configuration=Failure URL
    labels.failure_url_search_url=URL
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

            });
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        // DELETE /api/admin/crawlinginfo/all
        @Execute
        public JsonResponse<ApiResult> delete$all() {
            try {
                crawlingInfoService.deleteOldSessions(processHelper.getRunningSessionIdSet());
                saveInfo(messages -> messages.addSuccessCrawlingInfoDeleteAll(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. cmd/metacache.go

    	}
    
    	if m.error == "" && update.error != "" {
    		m.error = update.error
    		m.status = scanStateError
    		m.ended = now
    	}
    	m.fileNotFound = m.fileNotFound || update.fileNotFound
    }
    
    // delete all cache data on disks.
    func (m *metacache) delete(ctx context.Context) {
    	if m.bucket == "" || m.id == "" {
    		bugLogIf(ctx, fmt.Errorf("metacache.delete: bucket (%s) or id (%s) empty", m.bucket, m.id))
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            return suggester.getQueryWordsNum();
        }
    
        public boolean deleteAllWords() {
            final SuggestDeleteResponse response = suggester.indexer().deleteAll();
            if (response.hasError()) {
                logger.warn("Failed to delete all words.", response.getErrors().get(0));
                return false;
            }
            refresh();
            return true;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. cmd/prepare-storage.go

    		storageLogIf(GlobalContext, fmt.Errorf("unable to create (%s) %w, drive may be faulty, please investigate",
    			pathJoin(diskPath, minioMetaTmpBucket),
    			err))
    	}
    
    	// Delete all temporary files created for DirectIO write check
    	files, _ := filepath.Glob(filepath.Join(diskPath, ".writable-check-*.tmp"))
    	for _, file := range files {
    		go removeAll(file)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                SuggestUtil.deleteByQuery(client, settings, actualIndex, QueryBuilders.termQuery(FieldNames.ARRAY_KEY, key));
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to delete all from array.", e);
            }
        }
    
        protected void deleteFromArray(final String index, final String type, final String id) {
            final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top