Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for prepareExists (0.1 sec)

  1. src/main/java/org/codelibs/fess/suggest/Suggester.java

        }
    
        public boolean createIndexIfNothing() {
            try {
                boolean created = false;
                final IndicesExistsResponse response =
                        client.admin().indices().prepareExists(getSearchAlias(index)).execute().actionGet(suggestSettings.getIndicesTimeout());
                if (!response.isExists()) {
                    final String mappingSource = getDefaultMappings();
    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/util/UpgradeUtil.java

                final boolean expandWildcardsClosed) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            try {
                final IndicesExistsResponse response = indicesClient.prepareExists(index).setExpandWildcardsClosed(expandWildcardsClosed)
                        .setExpandWildcardsOpen(expandWildcardsOpen).execute().actionGet(fessConfig.getIndexSearchTimeout());
                return response.isExists();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

        }
    
        public synchronized void init() {
            try {
                final IndicesExistsResponse response =
                        client.admin().indices().prepareExists(analyzerSettingsIndexName).execute().actionGet(settings.getIndicesTimeout());
                if (!response.isExists()) {
                    createAnalyzerSettings(loadIndexSettings(), loadIndexMapping());
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        }
    
        protected void createMapping(final String mappingName) {
            boolean exists = false;
            try {
                final IndicesExistsResponse response = fesenClient.get(c -> c.admin().indices().prepareExists(index).execute());
                exists = response.isExists();
            } catch (final IndexNotFoundException e) {
                // ignore
            }
            if (!exists) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            boolean exists = false;
            try {
                final IndicesExistsResponse response =
                        client.admin().indices().prepareExists(indexName).execute().actionGet(fessConfig.getIndexSearchTimeout());
                exists = response.isExists();
            } catch (final Exception e) {
                logger.debug("Failed to check {} index status.", indexName, e);
    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