Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DeleteAll (0.05 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            assertTrue(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "id2")).execute()
                    .actionGet().getHits().getTotalHits().value > 0);
    
            urlQueueService.deleteAll();
            assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "id1")).execute()
                    .actionGet().getHits().getTotalHits().value > 0);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            dataService.store(accessResult1);
            assertNotNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
    
            dataService.deleteAll();
    
            assertNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
            assertNull(dataService.getAccessResult("id2", "http://www.id2.com/"));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    	var action lifecycle.Action
    	action, size = i.applyLifecycle(ctx, o, oi)
    	done()
    
    	// Note: objDeleted is true if and only if action ==
    	// lifecycle.DeleteAllVersionsAction
    	if action.DeleteAll() {
    		return true, 0
    	}
    
    	// For instance, an applied lifecycle means we remove/transitioned an object
    	// from the current deployment, which means we don't have to call healing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
        }
    
        protected void deleteBySessionId(final String sessionId) {
            delete(builder -> builder.setQuery(QueryBuilders.termQuery(SESSION_ID, sessionId)));
        }
    
        public void deleteAll() {
            delete(builder -> builder.setQuery(QueryBuilders.matchAllQuery()));
        }
    
        public void delete(final Consumer<SearchRequestBuilder> callback) {
            SearchResponse response = getClient().get(c -> {
    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. cmd/erasure-object.go

    	}
    
    	if len(buffer) > int(fi.Erasure.BlockSize) {
    		buffer = buffer[:fi.Erasure.BlockSize]
    	}
    
    	partName := "part.1"
    	tempErasureObj := pathJoin(uniqueID, fi.DataDir, partName)
    
    	defer er.deleteAll(context.Background(), minioMetaTmpBucket, tempObj)
    
    	var inlineBuffers []*bytes.Buffer
    	if globalStorageClass.ShouldInline(erasure.ShardFileSize(data.ActualSize()), opts.Versioned) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top