Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for alias (0.02 sec)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

    import org.junit.Test;
    import org.opensearch.action.admin.indices.alias.Alias;
    import org.opensearch.action.admin.indices.alias.get.GetAliasesResponse;
    import org.opensearch.action.admin.indices.create.CreateIndexResponse;
    import org.opensearch.transport.client.Client;
    
    /**
     * Test class for refactoring changes made to Suggester class.
     *
     * Tests cover:
     * - Index alias helper method (getIndicesForAlias)
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/Suggester.java

         * Returns a list of indices associated with the given alias.
         * @param alias The alias name.
         * @return A list of index names associated with the alias.
         */
        private List<String> getIndicesForAlias(final String alias) {
            final List<String> indices = new ArrayList<>();
            final IndicesExistsResponse response =
                    client.admin().indices().prepareExists(alias).execute().actionGet(suggestSettings.getIndicesTimeout());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 21.6K bytes
    - Viewed (3)
  3. CLAUDE.md

    - **Deferred/Promise**: Async operations
    
    ### Index Alias Strategy
    
    Zero-downtime index updates using dual aliases:
    
    ```
    Index Naming: {baseIndex}.{timestamp}
    Example:      my-suggest.20250123120000
    
    Aliases:
    ├── Search Alias: {baseIndex}          (read operations)
    └── Update Alias: {baseIndex}.update   (write operations)
    ```
    
    ### Text Processing Pipeline
    
    ```
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SambaHelper.java

    /**
     * Helper class for Samba-related operations.
     */
    public class SambaHelper {
    
        private static final Logger logger = LogManager.getLogger(SambaHelper.class);
    
        /**
         * SID type for an alias.
         */
        public static final int SID_TYPE_ALIAS = 4;
    
        /**
         * SID type for a deleted account.
         */
        public static final int SID_TYPE_DELETED = 6;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                    }
                    final String alias = index;
                    return asStream(filename).contentTypeOctetStream().stream(out -> {
                        try (final BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out.stream(), Constants.CHARSET_UTF_8))) {
                            SearchEngineUtil.scroll(alias, hit -> {
                                try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 32.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        protected void createAlias(final String index, final String createdIndexName) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            // alias
            final String aliasConfigDirPath = getResourcePath(indexConfigPath, fessConfig.getFesenType(), "/" + index + "/alias");
            try {
                final File aliasConfigDir = ResourceUtil.getResourceAsFile(aliasConfigDirPath);
                if (aliasConfigDir.isDirectory()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
Back to top