Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setOpType (0.12 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            try (final XContentBuilder source = getXContentBuilder(target)) {
                final IndexResponse response = getClient().get(c -> c.prepareIndex().setIndex(index).setId(id).setSource(source)
                        .setOpType(opType).setRefreshPolicy(RefreshPolicy.IMMEDIATE).execute());
                setId(target, id);
                return response;
            } catch (final OpenSearchStatusException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    	var setupType SetupType
    
    	if isEmptyLayout(poolsLayout...) {
    		return nil, setupType, config.ErrInvalidErasureEndpoints(nil).Msg("invalid number of endpoints")
    	}
    
    	// Check whether serverAddr is valid for this host.
    	if err := CheckLocalServerAddr(serverAddr); err != nil {
    		return nil, setupType, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. cmd/endpoint_test.go

    			}
    			pools, setupType, err := CreatePoolEndpoints(testCase.serverAddr, srvCtxt.Layout.pools...)
    			if err == nil && testCase.expectedErr != nil {
    				t.Errorf("Test %d: expected = %v, got = <nil>", i+1, testCase.expectedErr)
    			}
    			if err == nil {
    				if setupType != testCase.expectedSetupType {
    					t.Errorf("Test %d: setupType: expected = %v, got = %v", i+1, testCase.expectedSetupType, setupType)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. cmd/endpoint-ellipses.go

    func createServerEndpoints(serverAddr string, poolArgs []poolDisksLayout, legacy bool) (
    	endpointServerPools EndpointServerPools, setupType SetupType, err error,
    ) {
    	if len(poolArgs) == 0 {
    		return nil, -1, errInvalidArgument
    	}
    
    	poolEndpoints, setupType, err := CreatePoolEndpoints(serverAddr, poolArgs...)
    	if err != nil {
    		return nil, -1, err
    	}
    
    	for i, endpointList := range poolEndpoints {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. cmd/server-main.go

    	env.RegisterGlobalCAs(globalRootCAs)
    
    	globalEndpoints, setupType, err = createServerEndpoints(globalMinioAddr, ctxt.Layout.pools, ctxt.Layout.legacy)
    	logger.FatalIf(err, "Invalid command line arguments")
    	globalNodes = globalEndpoints.GetNodes()
    
    	globalIsErasure = (setupType == ErasureSetupType)
    	globalIsDistErasure = (setupType == DistErasureSetupType)
    	if globalIsDistErasure {
    		globalIsErasure = true
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top