Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for actionGet (0.06 sec)

  1. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                client.prepareUpdate().setIndex(settingsIndexName).setId(settingsId).setDocAsUpsert(true).setDoc(key, value)
                        .setRetryOnConflict(5).execute().actionGet(getIndexTimeout());
                client.admin().indices().prepareRefresh().setIndices(settingsIndexName).execute().actionGet(getIndicesTimeout());
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to update suggestSettings.", e);
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

                    final BulkResponse bulkResponse = bulkRequest.execute().actionGet(bulkTimeout);
                    if (bulkResponse.hasFailures()) {
                        throw new IllegalBehaviorStateException(bulkResponse.buildFailureMessage());
                    }
    
                    response = client.prepareSearchScroll(scrollId).setScroll(scrollForDelete).execute().actionGet(scrollSearchTimeout);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

                    final BulkResponse bulkResponse = bulkRequest.execute().actionGet(bulkTimeout);
                    if (bulkResponse.hasFailures()) {
                        throw new IllegalBehaviorStateException(bulkResponse.buildFailureMessage());
                    }
    
                    response = client.prepareSearchScroll(scrollId).setScroll(scrollForDelete).execute().actionGet(scrollSearchTimeout);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/Suggester.java

                            .addAlias(new Alias(getSearchAlias(index))).addAlias(new Alias(getUpdateAlias(index))).execute()
                            .actionGet(suggestSettings.getIndicesTimeout());
    
                    client.admin().cluster().prepareHealth().setWaitForYellowStatus().execute().actionGet(suggestSettings.getClusterTimeout());
                    created = true;
                }
                return created;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                builder.flush();
                client.prepareUpdate().setIndex(actualIndex).setId(id).setDocAsUpsert(true).setDoc(builder).execute()
                        .actionGet(settings.getIndexTimeout());
                client.admin().indices().prepareRefresh().setIndices(actualIndex).execute().actionGet(settings.getIndicesTimeout());
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to add to array.", e);
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

                    final BulkResponse bulkResponse = bulkRequest.execute().actionGet(bulkTimeout);
                    if (bulkResponse.hasFailures()) {
                        throw new IllegalBehaviorStateException(bulkResponse.buildFailureMessage());
                    }
    
                    response = client.prepareSearchScroll(scrollId).setScroll(scrollForDelete).execute().actionGet(scrollSearchTimeout);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

                    .execute().actionGet().getHits().getTotalHits().value > 0);
    
            urlQueueService.delete("sessionId");
            assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
                    .execute().actionGet().getHits().getTotalHits().value > 0);
    
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                                    .actionGet(fessConfig.getIndexIndicesTimeout());
                            final GetIndexResponse response =
                                    client.admin().indices().prepareGetIndex().addIndices(fessConfig.getIndexDocumentUpdateIndex()).execute()
                                            .actionGet(fessConfig.getIndexIndicesTimeout());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            client.admin().indices().prepareCreate(analyzerSettingsIndexName).setSettings(settings).execute()
                    .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)
  10. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

            final FieldMappingMetadata fieldMappings = gfmResponse.fieldMappings(index, field);
            if (fieldMappings == null) {
                try {
                    final AcknowledgedResponse pmResponse =
                            indicesClient.preparePutMapping(index).setSource(source, XContentType.JSON).execute().actionGet();
                    if (pmResponse.isAcknowledged()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top