Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for setSize (0.11 sec)

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

                    .execute().actionGet().getHits().getTotalHits().value > 0);
    
            urlQueueService.delete("sessionId");
            assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
                    .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. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      private void verifyTableSize(int inputSize, int setSize, int tableSize) {
        Builder<Integer> builder = ImmutableSet.builder();
        for (int i = 0; i < inputSize; i++) {
          builder.add(i % setSize);
        }
        ImmutableSet<Integer> set = builder.build();
        assertTrue(set instanceof RegularImmutableSet);
        assertEquals(
            "Input size " + inputSize + " and set size " + setSize,
            tableSize,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
        }
    
        public int getCount(final Consumer<SearchRequestBuilder> callback) {
            final TotalHits totalHits = getClient().get(c -> {
                final SearchRequestBuilder builder = c.prepareSearch(index).setSize(0).setTrackTotalHits(true);
                callback.accept(builder);
                return builder.execute();
            }).getHits().getTotalHits();
            return totalHits != null ? (int) totalHits.value : 0;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            SearchResponse response = getClient().get(c -> c.prepareSearch(index).setScroll(new TimeValue(scrollTimeout))
                    .setQuery(QueryBuilders.boolQuery().filter(QueryBuilders.termQuery(SESSION_ID, sessionId))).setSize(scrollSize).execute());
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = response.getHits();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            SearchResponse response = getClient().get(c -> c.prepareSearch(index).setScroll(new TimeValue(scrollTimeout))
                    .setQuery(QueryBuilders.boolQuery().filter(QueryBuilders.termQuery(SESSION_ID, oldSessionId))).setSize(scrollSize)
                    .execute());
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = response.getHits();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        }
    
        public int deleteByQuery(final String index, final String type, final QueryBuilder queryBuilder) {
            SearchResponse response =
                    get(c -> c.prepareSearch(index).setScroll(scrollForDelete).setSize(sizeForDelete).setQuery(queryBuilder).execute());
            String scrollId = response.getScrollId();
            int count = 0;
            try {
                while (scrollId != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. RELEASE.md

    *   Fixes a `CHECK` fail in `CollectiveGather` ([CVE-2022-35994](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35994))
    *   Fixes a `CHECK` fail in `SetSize` ([CVE-2022-35993](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35993))
    *   Fixes a `CHECK` fail in `TensorListFromTensor` ([CVE-2022-35992](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35992))
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            final int sizeThreshold = getSizeThreshold();
            final File repository = createRepositoryFile();
            return DiskFileItemFactory.builder().setBufferSize(sizeThreshold).setFile(repository).get();
        }
    
        protected int getSizeThreshold() {
            return ComponentUtil.getFessConfig().getHttpFileuploadThresholdSizeAsInteger();
        }
    
        protected File createRepositoryFile() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            Artifact a = createArtifact("a", "0.0.1-SNAPSHOT");
            File file = new File(localRepository.getBasedir(), localRepository.pathOf(a));
            file.delete();
            a.setFile(file);
    
            File touchFile = updateCheckManager.getTouchfile(a);
            touchFile.delete();
    
            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        /** {@inheritDoc} */
        public boolean hasClassifier() {
            return artifact.hasClassifier();
        }
    
        /** {@inheritDoc} */
        public void setFile(File destination) {
            artifact.setFile(destination);
            project.getArtifact().setFile(destination);
        }
    
        /** {@inheritDoc} */
        public String getBaseVersion() {
            return artifact.getBaseVersion();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top