- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for getItems (1.45 sec)
-
README.md
SuggestResponse response = suggester.suggest() .setQuery("sea") // user input .setSize(10) // max suggestions .execute() .getResponse(); // Process suggestions response.getItems().forEach(item -> { System.out.println("Suggestion: " + item.getText()[0]); System.out.println("Score: " + item.getScore()); }); ``` #### 4. Asynchronous Suggestions ```java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertNotNull(defaultConfig.getMachineId(), "Machine ID should not be null"); } @Test @DisplayName("Test network configuration getters") void testNetworkConfigurationGetters() { assertEquals(0, config.getLocalPort()); assertEquals(SmbConstants.DEFAULT_CONN_TIMEOUT, config.getConnTimeout());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
//// tab | Node.js ```Javascript {!> ../../docs_src/generate_clients/tutorial004.js!} ``` //// With that, the operation IDs would be renamed from things like `items-get_items` to just `get_items`, that way the client generator can generate simpler method names. ### Generate a TypeScript Client with the Preprocessed OpenAPI { #generate-a-typescript-client-with-the-preprocessed-openapi }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 10.1K bytes - Viewed (1) -
src/main/java/jcifs/internal/witness/WitnessNotification.java
* * @param address the old IP address */ public void addOldIPAddress(InetAddress address) { oldIPAddresses.add(new WitnessIPAddress(address)); } // Getters and Setters /** * Gets the event type. * * @return the event type */ public WitnessEventType getEventType() { return eventType; } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java
return data; } /** * Get size of this message * * @return size in bytes (32) */ public static int size() { return 32; } // Getters and setters /** * Get the minimum SMB Direct protocol version * * @return minimum protocol version */ public int getMinVersion() { return minVersion; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
* @return true if the registration is expired */ public boolean isExpired(long timeoutMs) { return System.currentTimeMillis() - lastHeartbeat > timeoutMs; } // Getters and setters /** * Gets the last heartbeat timestamp. * * @return the last heartbeat timestamp in milliseconds */ public long getLastHeartbeat() { return lastHeartbeat;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
/** * Check if negotiation was successful * * @return true if successful */ public boolean isSuccess() { return status == STATUS_SUCCESS; } // Getters and setters /** * Get the minimum SMB Direct protocol version * * @return minimum protocol version */ public int getMinVersion() { return minVersion; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/PingResponseTest.java
// we'll test the class behavior through unit tests that verify the logic // The actual integration with ClusterHealthResponse is tested in integration tests // Test that the constructor and getters work with proper setup FessConfig mockConfig = new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public Set<String> getApiPingEsFieldSet() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
public SmbOperationException withContext(Map<String, Object> contextMap) { if (contextMap != null) { this.context.putAll(contextMap); } return this; } // Getters public ErrorCode getErrorCode() { return errorCode; } public ErrorCategory getErrorCategory() { return errorCode.getCategory(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
assertNotNull(settings); // Verify that the settings object was created with the correct parameters // Note: We can't directly verify internal state of SuggestSettings without getters, // but we can verify it was created successfully } @Test public void testBuildWithCustomSettings() { // Test building with all custom settings String id = "custom-id";Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 14.4K bytes - Viewed (0)