Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 334 for fessConfig (0.11 sec)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.misc.Pair;
    import org.codelibs.core.misc.Tuple3;
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.response.HtmlResponse;
    
    public class SystemHelperTest extends UnitFessTestCase {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

        @PostConstruct
        public void init() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            webProtocols = split(fessConfig.getCrawlerWebProtocols(), ",")
                    .get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> s.trim() + ":").toArray(n -> new String[n]));
            fileProtocols = split(fessConfig.getCrawlerFileProtocols(), ",")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java

            validateApi(body, messages -> {});
            final EditBody newBody = new EditBody();
            AdminGeneralAction.updateForm(fessConfig, newBody);
            BeanUtil.copyBeanToBean(body, newBody, CopyOptions::excludeNull);
            AdminGeneralAction.updateConfig(fessConfig, newBody);
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            super.tearDown();
        }
    
        private void setQueryType(final String queryType) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String get(String propertyKey) {
                    return fessConfig.get(propertyKey);
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/PythonJob.java

            final ProcessHelper processHelper = ComponentUtil.getProcessHelper();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if (StringUtil.isBlank(filename)) {
                throw new JobProcessingException("Python script is not specified.");
            }
    
            cmdList.add(fessConfig.getPythonCommandPath());
    
            cmdList.add(getPyFilePath());
    
            cmdList.addAll(argList);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

        }
    
        protected void updateProperties() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String commandTimeoutStr = fessConfig.getSystemProperty("thumbnail.command.timeout");
            if (commandTimeoutStr != null) {
                commandTimeout = Long.parseLong(commandTimeoutStr);
            }
            final String commandDestroyTimeoutStr = fessConfig.getSystemProperty("thumbnail.command.destroy.timeout");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                if (contentMap.containsKey("error")) {
                    logger.warn("Failed to access parent groups: {}", contentMap);
                } else {
                    final FessConfig fessConfig = ComponentUtil.getFessConfig();
                    final String[] names = fessConfig.getAzureAdPermissionFields();
                    for (final String name : names) {
                        final String value = (String) contentMap.get(name);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

            final Map<String, Object> doc =
                    searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getResponseFields(), getUserBean()).orElse(null);
            final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldThumbnail(), String.class);
            if (StringUtil.isBlank(form.queryId) || StringUtil.isBlank(url) || !thumbnailSupport) {
                // 404
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

        @Override
        protected boolean isAccessAllowed() {
            try {
                return accessTokenService.getPermissions(request).map(permissions -> fessConfig.isApiAdminAccessAllowed(permissions))
                        .orElse(false);
            } catch (final InvalidAccessTokenException e) {
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

        public void test_getSitePath() {
            String urlLink;
            String sitePath;
            final Map<String, Object> docMap = new HashMap<>();
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String fieldName = fessConfig.getResponseFieldUrlLink();
    
            urlLink = "http://www.google.com";
            sitePath = "www.google.com";
            docMap.put(fieldName, urlLink);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top