Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for DocList (0.1 sec)

  1. src/main/java/org/codelibs/fess/util/DocList.java

        /** Total processing time for all documents in this list */
        private long processingTime = 0;
    
        /**
         * Default constructor for DocList.
         * Creates a new empty document list with zero content size and processing time.
         */
        public DocList() {
            super();
        }
    
        /**
         * Clears all documents from the list and resets metrics.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/DocListTest.java

            docList.addContentSize(100);
            assertEquals(100, docList.getContentSize());
    
            docList.addContentSize(-30);
            assertEquals(70, docList.getContentSize());
    
            docList.addContentSize(-100);
            assertEquals(-30, docList.getContentSize());
        }
    
        public void test_addProcessingTime_negative() {
            DocList docList = new DocList();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

            final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper();
            final LanguageHelper languageHelper = ComponentUtil.getLanguageHelper();
            final List<Map<String, Object>> docList = body.documents.stream().map(doc -> {
                if (!doc.containsKey(indexFieldContentLength)) {
                    long contentLength = 0;
                    if (doc.get(indexFieldTitle) instanceof final String title) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

            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);
                if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            ComponentUtil.register(client, "searchEngineClient");
            final DocList docList = new DocList();
            assertEquals(0, indexingHelper.deleteOldDocuments(client, docList));
            assertEquals(0, docList.size());
            assertEquals(0, deletedDocIdList.size());
    
            docList.clear();
            deletedDocIdList.clear();
            docList.add(new HashMap<>(Map.of(//
                    "config_id", "W01", //
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

         *
         * @param searchEngineClient the search engine client to use for indexing
         * @param docList the list of documents to be indexed
         * @throws SearchEngineClientException if the bulk indexing operation fails
         */
        public void sendDocuments(final SearchEngineClient searchEngineClient, final DocList docList) {
            if (docList.isEmpty()) {
                return;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                                    MemoryUtil.byteCountToDisplaySize(contentSize), processingTime, docList.size(), docList.getContentSize());
                        }
    
                        if (docList.getContentSize() >= maxDocumentRequestSize) {
                            indexingHelper.sendDocuments(searchEngineClient, docList);
                        }
                        documentSize++;
                        if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

                        docList.addAll(keyMatchHelper.getBoostedDocumentList(entity));
                    }).orElse(() -> {
                        throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
                    });
                });
            }).renderWith(data -> {
                data.register("docs", docList);
            });
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            final List<Map<String, Object>> docList =
                    indexingHelper.getChildDocumentList(searchEngineClient, id, new String[] { fessConfig.getIndexFieldUrl() });
            if (docList.isEmpty()) {
                return null;
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Found documents: {}", docList);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top