Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for insertAll (0.05 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

                esUrlFilter.setFilterType(INCLUDE);
                esUrlFilter.setUrl(url);
                urlFilterList.add(esUrlFilter);
                invalidateSet.add(sessionId);
            }
            insertAll(urlFilterList, OpType.INDEX);
            invalidateSet.forEach(s -> includeFilterCache.invalidate(s));
        }
    
        @Override
        public void addExcludeUrlFilter(final String sessionId, final String url) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                throw new OpenSearchAccessException("Failed to insert " + id, e);
            }
        }
    
        protected <T> void insertAll(final List<T> list, final OpType opType) {
            insertAll(list, opType, false);
        }
    
        protected <T> void insertAll(final List<T> list, final OpType opType, final boolean ignoreAlreadyExists) {
            final List<T> bufferedList = new ArrayList<>(bulkBufferSize);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            super.insert(accessResult, OpType.INDEX);
        }
    
        @Override
        public void update(final List<OpenSearchAccessResult> accessResultList) {
            insertAll(accessResultList, OpType.INDEX);
        }
    
        @Override
        public int getCount(final String sessionId) {
            return getCount(builder -> builder.setQuery(QueryBuilders.termQuery(SESSION_ID, sessionId)));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                } else if (logger.isDebugEnabled()) {
                    logger.debug("Existed URL: Session ID: {}, UrlQueue: {}", sessionId, urlQueue);
                }
            }
            if (!targetList.isEmpty()) {
                insertAll(targetList.stream()
                        .filter(urlQueue -> StringUtil.isNotBlank(urlQueue.getSessionId()) && StringUtil.isNotBlank(urlQueue.getUrl()))
                        .collect(Collectors.toList()), OpType.CREATE, true);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top