Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CreateIndex (0.04 sec)

  1. migrator/migrator.go

    // BuildIndexOptionsInterface build index options interface
    type BuildIndexOptionsInterface interface {
    	BuildIndexOptions([]schema.IndexOption, *gorm.Statement) []interface{}
    }
    
    // CreateIndex create index `name`
    func (m Migrator) CreateIndex(value interface{}, name string) error {
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		if stmt.Schema == nil {
    			return errors.New("failed to get schema")
    		}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:31:09 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         * @return true if the index was created successfully, false otherwise
         */
        public boolean createIndex(final String index, final String indexName) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return createIndex(index, indexName, fessConfig.getIndexNumberOfShards(), fessConfig.getIndexAutoExpandReplicas(), true);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            final String toIndex = docIndex + "." + new SimpleDateFormat(Constants.DOCUMENT_INDEX_SUFFIX_PATTERN).format(new Date());
            if (searchEngineClient.createIndex(docIndex, toIndex, numberOfShards, autoExpandReplicas, resetDictionaries)) {
                searchEngineClient.admin().cluster().prepareHealth(toIndex).setWaitForYellowStatus().execute(ActionListener.wrap(response -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top