Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for prepareCreate (0.12 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)
  6. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            try {
                final String source = readIndexSetting(fesenType, indexConfigFile, numberOfShards, autoExpandReplicas);
                final CreateIndexResponse indexResponse = client.admin().indices().prepareCreate(indexName).setSource(source, XContentType.JSON)
                        .execute().actionGet(fessConfig.getIndexIndicesTimeout());
                if (indexResponse.isAcknowledged()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top