- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 323 for constants (0.04 sec)
-
src/main/java/org/codelibs/fess/Constants.java
import org.codelibs.core.lang.StringUtil; /** * Constants class that extends CoreLibConstants and contains application-wide constant values for the Fess search engine. * This class provides constants for system configuration, crawling and indexing defaults, user agent strings, * status values, field names, date/time formats, authentication types, and various reserved words and patterns. * * <p>Key constant categories include:</p> * <ul>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 34.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
import org.codelibs.fess.Constants; import org.codelibs.fess.unit.UnitFessTestCase; public class SystemUtilTest extends UnitFessTestCase { public void test_getSearchEngineHttpAddress_null() { // Clear the system property to test null case String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); System.clearProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>()); queryContext = new QueryContext("test", true); assertEquals("test", queryContext.getQueryString()); // Verify that highlighting and field log are initialized assertNotNull(getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java
copyBeanToBean(entity, form, copyOp -> { copyOp.excludeNull(); copyOp.exclude(Stream.concat(Stream.of(Constants.COMMON_CONVERSION_RULE), Stream.of(Constants.PERMISSIONS, Constants.VIRTUAL_HOSTS)).toArray(n -> new String[n])); }); final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
} } assertEquals("Should have exactly one serialVersionUID", 1, serialVersionUIDCount); assertTrue("Should have many label constants", labelConstantCount > 100); } /** * Test that label constant values match their field names */ public void test_labelConstantValueMatchesName() throws Exception { Field[] fields = FessLabels.class.getDeclaredFields();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
public static String formatDate(final Date date) { if (date == null) { return StringUtil.EMPTY; } final SimpleDateFormat sdf = new SimpleDateFormat(Constants.ISO_DATETIME_FORMAT); sdf.setTimeZone(Constants.TIMEZONE_UTC); return sdf.format(date); } /** * Formats a LocalDateTime object to ISO datetime string format. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
int result = crawler.doCrawl(options); assertEquals(Constants.EXIT_OK, result); } public void test_doCrawl_withWebConfigIds() { Crawler.Options options = new Crawler.Options(); options.sessionId = "test-session"; options.webConfigIds = "web1,web2"; int result = crawler.doCrawl(options); assertEquals(Constants.EXIT_OK, result); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey); } } // Test getting numeric configuration values public void test_get_numericValues() { String intKey = "numeric.int"; String floatKey = "numeric.float"; System.setProperty(Constants.FESS_CONFIG_PREFIX + intKey, "123"); System.setProperty(Constants.FESS_CONFIG_PREFIX + floatKey, "45.67");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
} public void test_getProcessTypeList_crawlerMode() { System.setProperty("lasta.env", Constants.EXECUTE_TYPE_CRAWLER); try { final List<String> ptList = pathMappingHelper.getProcessTypeList(); assertEquals(1, ptList.size()); assertEquals(Constants.PROCESS_TYPE_REPLACE, ptList.get(0)); } finally { System.clearProperty("lasta.env"); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 14.9K bytes - Viewed (0)