Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for prepareCreate (0.09 sec)

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

            client.admin().indices().prepareCreate(analyzerSettingsIndexName).setSettings(settings, XContentType.JSON).setMapping(mappings)
                    .execute().actionGet(this.settings.getIndicesTimeout());
        }
    
        protected void createAnalyzerSettings(final Map<String, Object> settings, final Map<String, Object> mappings) {
            client.admin().indices().prepareCreate(analyzerSettingsIndexName).setSettings(settings).execute()
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/Suggester.java

                    if (logger.isInfoEnabled()) {
                        logger.info("Create suggest index: {}", indexName);
                    }
    
                    client.admin().indices().prepareCreate(indexName).setSettings(settingsSource, XContentType.JSON).setMapping(mappingSource)
                            .addAlias(new Alias(getSearchAlias(index))).addAlias(new Alias(getUpdateAlias(index))).execute()
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                doIndexCreate = true;
                doCreate = true;
            }
    
            if (doCreate) {
                if (doIndexCreate) {
                    try {
                        client.admin().indices().prepareCreate(settingsIndexName).setSettings(loadIndexSettings(), XContentType.JSON).execute()
                                .actionGet(getIndicesTimeout());
                    } catch (final IOException 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/settings/ArraySettings.java

                            .getMappings().isEmpty();
                } catch (final IndexNotFoundException e) {
                    empty = true;
                    final CreateIndexResponse response = client.admin().indices().prepareCreate(actualIndex)
                            .setSettings(loadIndexSettings(), XContentType.JSON).execute().actionGet(settings.getIndicesTimeout());
                    if (!response.isAcknowledged()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                                + numberOfReplicas + "}}}";
                    }
                    return c.admin().indices().prepareCreate(index).setSource(source, XContentType.JSON).execute();
                });
                if (indexResponse.isAcknowledged()) {
                    logger.info("Created {} index.", index);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top