- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getIndices (0.17 sec)
-
src/main/java/org/codelibs/fess/suggest/Suggester.java
final GetIndexResponse response = client.admin().indices().prepareGetIndex().addIndices("*").execute().actionGet(suggestSettings.getIndicesTimeout()); Stream.of(response.getIndices()).filter(s -> { if (!isSuggestIndex(s)) { return false; } final List<AliasMetadata> list = response.getAliases().get(s); if (list == null) {
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/test/java/org/codelibs/fess/suggest/SuggesterTest.java
GetIndexResponse getIndexResponse = runner.client().admin().indices().prepareGetIndex().execute().actionGet(); int count = 0; for (String index : getIndexResponse.getIndices()) { if (index.startsWith(suggester.getIndex())) { count++; } } assertEquals(2, count); suggester.removeDisableIndices();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH); try { SearchResponse response = client.prepareSearch().setIndices(actualIndex).setScroll(settings.getScrollTimeout()) .setQuery(QueryBuilders.termQuery(FieldNames.ARRAY_KEY, key)).setSize(500).execute() .actionGet(settings.getSearchTimeout());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
.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/settings/AnalyzerSettings.java
} protected Set<String> getAnalyzerNames() { final GetSettingsResponse response = client.admin().indices().prepareGetSettings().setIndices(analyzerSettingsIndexName).execute().actionGet(); final Settings settings = response.getIndexToSettings().get(analyzerSettingsIndexName);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0)