Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setRefreshPolicy (0.14 sec)

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

        public void store(final FailureUrl failureUrl) {
    
            failureUrlBhv.insertOrUpdate(failureUrl, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final FailureUrl failureUrl) {
    
            failureUrlBhv.delete(failureUrl, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 24 01:20:42 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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