Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for existsIndex (0.16 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)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K 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 {
    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/es/client/SearchEngineClient.java

                    final boolean isFessIndex = DOC_INDEX.equals(configIndex);
                    final String indexName;
                    if (isFessIndex) {
                        final boolean exists = existsIndex(fessConfig.getIndexDocumentUpdateIndex());
                        if (!exists) {
                            indexName = generateNewIndexName(configIndex);
                            createIndex(configIndex, indexName);
    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