- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for prepareDelete (0.07 sec)
-
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java
return response.getResult() == Result.DELETED ? 1 : 0; } protected DeleteRequestBuilder createDeleteRequest(final EsAbstractEntity esEntity) { final DeleteRequestBuilder builder = client.prepareDelete().setIndex(asEsIndex()).setId(esEntity.asDocMeta().id()); final RequestOptionCall<DeleteRequestBuilder> deleteOption = esEntity.asDocMeta().deleteOption(); if (deleteOption != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java
return response.getResult() == Result.DELETED ? 1 : 0; } protected DeleteRequestBuilder createDeleteRequest(final EsAbstractEntity esEntity) { final DeleteRequestBuilder builder = client.prepareDelete().setIndex(asEsIndex()).setId(esEntity.asDocMeta().id()); final RequestOptionCall<DeleteRequestBuilder> deleteOption = esEntity.asDocMeta().deleteOption(); if (deleteOption != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java
return response.getResult() == Result.DELETED ? 1 : 0; } protected DeleteRequestBuilder createDeleteRequest(final EsAbstractEntity esEntity) { final DeleteRequestBuilder builder = client.prepareDelete().setIndex(asEsIndex()).setId(esEntity.asDocMeta().id()); final RequestOptionCall<DeleteRequestBuilder> deleteOption = esEntity.asDocMeta().deleteOption(); if (deleteOption != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
protected boolean delete(final String sessionId, final String url) { final String id = getId(sessionId, url); try { final DeleteResponse response = getClient().get(c -> c.prepareDelete().setIndex(index).setId(id).setRefreshPolicy(RefreshPolicy.IMMEDIATE).execute()); return response.getResult() == Result.DELETED; } catch (final Exception e) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/UpgradeUtil.java
return false; } public static void deleteIndex(final IndicesAdminClient indicesClient, final String index, final Consumer<AcknowledgedResponse> comsumer) { indicesClient.prepareDelete(index).execute(new ActionListener<AcknowledgedResponse>() { @Override public void onResponse(final AcknowledgedResponse response) { logger.info("Deleted {} index.", index);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
public HtmlResponse clearCrawlerIndex(final ActionForm form) { validate(form, messages -> {}, this::asIndexHtml); verifyToken(this::asIndexHtml); searchEngineClient.admin().indices().prepareDelete(// fessConfig.getIndexDocumentCrawlerIndex() + ".queue", // fessConfig.getIndexDocumentCrawlerIndex() + ".data", // fessConfig.getIndexDocumentCrawlerIndex() + ".filter")
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 14K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
final BulkRequestBuilder bulkBuilder = c.prepareBulk(); for (final OpenSearchUrlQueue uq : urlQueueList) { bulkBuilder.add(c.prepareDelete().setIndex(index).setId(uq.getId())); } return bulkBuilder.setRefreshPolicy(RefreshPolicy.IMMEDIATE).execute(); });
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 13.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
return list.isEmpty(); }).forEach(s -> { if (logger.isInfoEnabled()) { logger.info("Delete index: {}", s); } client.admin().indices().prepareDelete(s).execute().actionGet(suggestSettings.getIndicesTimeout()); }); } public SuggestIndexer indexer() { return createDefaultIndexer(); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
.actionGet(this.settings.getIndicesTimeout()); } protected void deleteAnalyzerSettings() { client.admin().indices().prepareDelete(analyzerSettingsIndexName).execute().actionGet(settings.getIndicesTimeout()); } protected void createAnalyzerSettings(final String settings, final String mappings) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh(); suggester = Suggester.builder().build(runner.client(), "SuggesterTest"); suggester.createIndexIfNothing(); } @Test
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0)