Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setRefreshPolicy (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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