- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 58 for myhost (0.03 seconds)
-
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
return "fess-server"; } }); try { envMap.put("HOSTNAME", "myhost"); final long pid = ProcessHandle.current().pid(); assertEquals("fess-server@myhost:" + pid, systemHelper.getInstanceId()); } finally { envMap.remove("HOSTNAME"); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1"), new Tuple3<>("X-Forwarded-Host", "test.com", "site2") }; } }); MockletHttpServletRequest request = getMockRequest(); // No matching host header String key = virtualHostHelper.getVirtualHostKey(); assertEquals("", key); // Matching host header request.addHeader("Host", "example.com");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
/** * Displays the initial duplicate host management page. * * @param form the search form * @return HTML response for the duplicate host list page */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index(final SearchForm form) { return asListHtml(); } /** * Displays the duplicate host list with pagination. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 15.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java
// ======================== @Test public void test_isValidVirtualHostPath_emptyPath() throws Exception { setupVirtualHostHelper(); Boolean result = invokeIsValidVirtualHostPath(""); assertTrue("Empty path should be valid (default host)", result); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
* * @return the logger instance */ Logger getLogger(); /** * Extracts the host name from a URL string. * Removes protocol and path components to return just the hostname. * * @param u the URL string to extract host from * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails */ default String getHost(final String u) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
mockBhv.setTestData(testData); int count = relatedQueryHelper.load(); assertEquals(1, count); // One virtual host key (empty) String[] results = relatedQueryHelper.getRelatedQueries("java"); assertEquals(3, results.length); assertEquals("programming", results[0]); assertEquals("tutorial", results[1]);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
} /** * Returns the virtual host. * * @return The virtual host. */ public String getVirtualHost() { return virtualHost; } /** * Sets the virtual host. * * @param virtualHost The virtual host. */ public void setVirtualHost(final String virtualHost) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
// Test with client parameters configParameters = "client.host=localhost\nclient.port=9200"; result = ParameterUtil.createConfigParameterMap(configParameters); assertEquals(2, result.get(ConfigName.CLIENT).size()); assertEquals("localhost", result.get(ConfigName.CLIENT).get("host")); assertEquals("9200", result.get(ConfigName.CLIENT).get("port"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 22.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
.responseFields(new String[] { fessConfig.getIndexFieldDocId() }) .build()); } /** * Returns a query map for the specified virtual host. * * @param key The virtual host key. * @return A map of terms and boost information. */ protected Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>> getQueryMap(final String key) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.1K bytes - Click Count (0)