Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 225 for constants (0.04 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            return Constants.TRUE.equalsIgnoreCase(getSystemProperty(key, defaultValue ? Constants.TRUE : Constants.FALSE));
        }
    
        default void setSystemPropertyAsBoolean(final String key, final boolean value) {
            setSystemProperty(key, value ? Constants.TRUE : Constants.FALSE);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            }
    
            final String[] searchers = DocumentUtil.getValue(docMap, Constants.SEARCHER, String[].class);
            if (searchers != null) {
                docMap.put(Constants.SEARCHER, ArrayUtil.add(searchers, getName()));
            } else {
                docMap.put(Constants.SEARCHER, new String[] { getName() });
            }
    
            return docMap;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

    import org.apache.lucene.index.Term;
    import org.apache.lucene.search.Query;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.search.WildcardQuery;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.QueryContext;
    import org.codelibs.fess.exception.InvalidQueryException;
    
    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.index.query.QueryBuilder;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

                        postcard.setWebFsIndexSize(getValueFromMap(dataMap, "webFsIndexSize", "0"));
                        if (Constants.TRUE.equalsIgnoreCase(infoMap.get(Constants.CRAWLER_STATUS))) {
                            postcard.setStatus(Constants.OK);
                        } else {
                            postcard.setStatus(Constants.FAIL);
                        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
Back to top