Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getIndices (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top