Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for setRefreshPolicy (0.24 sec)

  1. src/main/java/org/codelibs/fess/app/service/JobLogService.java

        }
    
        public void store(final JobLog jobLog) {
    
            jobLogBhv.insertOrUpdate(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final JobLog jobLog) {
    
            jobLogBhv.delete(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        protected void setupListCondition(final JobLogCB cb, final JobLogPager jobLogPager) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

            return scheduledJobBhv.selectByPK(id);
        }
    
        public void delete(final ScheduledJob scheduledJob) {
            scheduledJobBhv.delete(scheduledJob, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
            ComponentUtil.getJobHelper().remove(scheduledJob);
        }
    
        protected void setupListCondition(final ScheduledJobCB cb, final SchedulerPager scheduledJobPager) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

            return webConfigList;
        }
    
        public void delete(final WebConfig webConfig) {
    
            final String webConfigId = webConfig.getId();
    
            webConfigBhv.delete(webConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            webAuthenticationBhv.queryDelete(cb -> {
                cb.query().setWebConfigId_Equal(webConfigId);
            });
    
            requestHeaderBhv.queryDelete(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/BadWordService.java

        }
    
        public void store(final BadWord badWord) {
    
            badWordBhv.insertOrUpdate(badWord, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        public void delete(final BadWord badWord) {
    
            badWordBhv.delete(badWord, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        protected void setupListCondition(final BadWordCB cb, final BadWordPager badWordPager) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/JobHelper.java

                    .isPresent();
        }
    
        public void store(final JobLog jobLog) {
            ComponentUtil.getComponent(JobLogBhv.class).insertOrUpdate(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        public TimeoutTask startMonitorTask(final JobLog jobLog) {
            final TimeoutTarget target = new MonitorTarget(jobLog);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                final IndexResponse response = getClient().get(c -> c.prepareIndex().setIndex(index).setId(id).setSource(source)
                        .setOpType(opType).setRefreshPolicy(RefreshPolicy.IMMEDIATE).execute());
                setId(target, id);
                return response;
            } catch (final OpenSearchStatusException e) {
                if (e.status() == RestStatus.CONFLICT) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                                    bulkBuilder.add(c.prepareDelete().setIndex(index).setId(uq.getId()));
                                }
    
                                return bulkBuilder.setRefreshPolicy(RefreshPolicy.IMMEDIATE).execute();
                            });
                            if (response.hasFailures()) {
                                logger.warn(response.buildFailureMessage());
                            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                    logger.debug("Sending {} search logs. ({}-{}/{})", end - i, i, end, totalSize);
                }
                searchLogBhv.batchUpdate(searchLogList.subList(i, end), op -> {
                    op.setRefreshPolicy(Constants.TRUE);
                });
            }
        }
    
        protected void processClickLogQueue(final Queue<ClickLog> queue) {
            final Map<String, Integer> clickCountMap = new HashMap<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                if (id == null) {
                    // TODO throw Exception in next release
                    // create
                    response = client.prepareIndex().setIndex(index).setSource(new DocMap(source)).setRefreshPolicy(RefreshPolicy.IMMEDIATE)
                            .setOpType(OpType.CREATE).execute().actionGet(fessConfig.getIndexIndexTimeout());
                } else {
                    // create or update
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                                upsertMap.put(fessConfig.getIndexFieldFavoriteCount(), 1);
                                builder.setUpsert(upsertMap);
                                builder.setRefreshPolicy(Constants.TRUE);
                            });
    
                            writeJsonResponse(HttpServletResponse.SC_CREATED, escapeJsonKeyValue(RESULT_FIELD, "created"));
    
                        }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top