Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for calculateDocumentSize (0.17 sec)

  1. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

            ComponentUtil.getLanguageHelper().updateDocument(dataMap);
    
            synchronized (docList) {
                docList.add(ingest(paramMap, dataMap));
                final long contentSize = indexingHelper.calculateDocumentSize(dataMap);
                docList.addContentSize(contentSize);
                final long processingTime = systemHelper.getCurrentTimeAsLong() - startTime;
                docList.addProcessingTime(processingTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

        }
    
        public void test_calculateDocumentSize() {
            assertEquals(0, indexingHelper.calculateDocumentSize(Collections.emptyMap()));
            assertEquals(118, indexingHelper.calculateDocumentSize(Map.of("id", "test")));
            assertEquals(249, indexingHelper.calculateDocumentSize(Map.of("id", "test", "url", "http://test.com/")));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                        response.getSuccessfulShards(), response.getFailedShards());
            }
            return response.getStatus().getStatus();
        }
    
        public long calculateDocumentSize(final Map<String, Object> dataMap) {
            return MemoryUtil.sizeOf(dataMap);
        }
    
        public void setMaxRetryCount(final int maxRetryCount) {
            this.maxRetryCount = maxRetryCount;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                        updateDocument(map);
    
                        docList.add(ingest(accessResult, map));
                        final long contentSize = indexingHelper.calculateDocumentSize(map);
                        docList.addContentSize(contentSize);
                        final long processingTime = systemHelper.getCurrentTimeAsLong() - startTime;
                        docList.addProcessingTime(processingTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top