- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setIndices (0.1 sec)
-
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/index/contents/document/ESSourceReader.java
try { final SearchResponse response; if (scrollId == null) { final SearchRequestBuilder builder = client.prepareSearch().setIndices(indexName).setScroll(settings.getScrollTimeout()) .setQuery(queryBuilder).setSize(scrollSize); for (final SortBuilder<?> sortBuilder : sortList) {
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/Suggester.java
return getNum(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(1)); } private long getNum(final QueryBuilder queryBuilder) { final SearchResponse searchResponse = client.prepareSearch().setIndices(getSearchAlias(index)).setSize(0).setQuery(queryBuilder) .setTrackTotalHits(true).execute().actionGet(suggestSettings.getSearchTimeout()); return searchResponse.getHits().getTotalHits().value; }
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
} 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)