Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isPresent (0.81 sec)

  1. cmd/common-main.go

    	}
    }
    
    // Initialize KMS global variable after valiadating and loading the configuration.
    // It depends on KMS env variables and global cli flags.
    func handleKMSConfig() {
    	present, err := kms.IsPresent()
    	if err != nil {
    		logger.Fatal(err, "Invalid KMS configuration specified")
    	}
    	if !present {
    		return
    	}
    
    	KMS, err := kms.Connect(GlobalContext, &kms.ConnectionOptions{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  2. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            return search(index, condition, (searchRequestBuilder, execTime, searchResponse) -> {
                final List<T> list = new ArrayList<>();
                searchResponse.ifPresent(response -> response.getHits().forEach(hit -> {
                    list.add(creator.build(response, hit));
                }));
                return list;
            });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (1)
Back to top