Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for declList (0.08 sec)

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

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    
    public class DocList extends ArrayList<Map<String, Object>> {
    
        private static final long serialVersionUID = 1L;
    
        private long contentSize = 0;
    
        private long processingTime = 0;
    
        @Override
        public void clear() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/DocListTest.java

        public void test_DocList() {
            DocList docList = new DocList();
    
            assertEquals(0, docList.getContentSize());
            assertEquals(0, docList.getProcessingTime());
    
            docList.addContentSize(1000);
            docList.addProcessingTime(999);
            assertEquals(1000, docList.getContentSize());
            assertEquals(999, docList.getProcessingTime());
    
            docList.clear();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. tests/test_ws_dependencies.py

    from fastapi.testclient import TestClient
    from typing_extensions import Annotated
    
    
    def dependency_list() -> List[str]:
        return []
    
    
    DepList = Annotated[List[str], Depends(dependency_list)]
    
    
    def create_dependency(name: str):
        def fun(deps: DepList):
            deps.append(name)
    
        return Depends(fun)
    
    
    router = APIRouter(dependencies=[create_dependency("router")])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 20:35:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                }
                if (logger.isInfoEnabled()) {
                    if (docList.getContentSize() > 0) {
                        logger.info("Sent {} docs (Doc:{process {}ms, send {}ms, size {}}, {})", docList.size(), docList.getProcessingTime(),
                                systemHelper.getCurrentTimeAsLong() - execTime, MemoryUtil.byteCountToDisplaySize(docList.getContentSize()),
                                MemoryUtil.getMemoryUsageLog());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top