Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/event/target/elasticsearch.go

    	}
    	return ESSUnknown, "", fmt.Errorf("Unable to get ES Server Version - got INFO response: %v", m)
    }
    
    func (c *esClientV7) isAtleastV7() bool {
    	return true
    }
    
    // createIndex - creates the index if it does not exist.
    func (c *esClientV7) createIndex(args ElasticsearchArgs) error {
    	res, err := c.Indices.ResolveIndex([]string{args.Index})
    	if err != nil {
    		return err
    	}
    	defer res.Body.Close()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            }
            return value;
        }
    
        public boolean createIndex(final String index, final String indexName) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return createIndex(index, indexName, fessConfig.getIndexNumberOfShards(), fessConfig.getIndexAutoExpandReplicas(), true);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top