- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for actionGet (0.07 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
if (bulkResponse.hasFailures()) { throw new SuggesterException(bulkResponse.buildFailureMessage()); } response = client.prepareSearchScroll(scrollId).setScroll(settings.getScrollTimeout()).execute() .actionGet(settings.getSearchTimeout());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
} response = builder.execute().actionGet(settings.getSearchTimeout()); } else { response = client.prepareSearchScroll(scrollId).setScroll(settings.getScrollTimeout()).execute() .actionGet(settings.getSearchTimeout()); if (!scrollId.equals(response.getScrollId())) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
SearchResponse response = client.prepareSearch(index).setSize(500).setScroll(settings.getScrollTimeout()) .setQuery(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1)).execute().actionGet(settings.getSearchTimeout()); String scrollId = response.getScrollId(); try { while (scrollId != null) { final SearchHit[] hits = response.getHits().getHits();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java
final AnalyzeAction.Response termResponse = client.admin().indices().prepareAnalyze(analyzerSettings.getAnalyzerSettingsIndexName(), text) .setAnalyzer(analyzerSettings.getReadingTermAnalyzerName(field, lang)).execute() .actionGet(settings.getIndicesTimeout());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.8K bytes - Viewed (0)