Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for existsIndex (0.29 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            for (final String index : configIndices) {
                final String oldIndex = "." + index;
                if (client.existsIndex(oldIndex) && client.existsIndex(index)) {
                    logger.info("Copying from {} to {}", oldIndex, index);
                    if (!client.reindex(oldIndex, index, false)) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

                return true;
            } catch (final Exception e) {
                logger.warn("Failed to add {} to {}", id, index, e);
            }
            return false;
        }
    
        public static boolean existsIndex(final IndicesAdminClient indicesClient, final String index, final boolean expandWildcardsOpen,
                final boolean expandWildcardsClosed) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            try {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    final boolean isFessIndex = "fess".equals(configIndex);
                    final String indexName;
                    if (isFessIndex) {
                        final boolean exists = existsIndex(fessConfig.getIndexDocumentUpdateIndex());
                        if (!exists) {
                            indexName = generateNewIndexName(configIndex);
                            createIndex(configIndex, indexName);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
Back to top