Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for detected (0.15 sec)

  1. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

            if (StringUtil.isBlank(text)) {
                return null;
            }
            final String target = getDetectText(text);
            final LanguageResult result = detector.detect(target);
            if (logger.isDebugEnabled()) {
                logger.debug("detected lang:{}({}) from {}", result, result.getRawScore(), target);
            }
            return getSupportedLanguage(result.getLanguage());
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SambaHelper.java

    import jcifs.SID;
    
    public class SambaHelper {
    
        private static final Logger logger = LogManager.getLogger(SambaHelper.class);
    
        public static final int SID_TYPE_ALIAS = 4;
    
        public static final int SID_TYPE_DELETED = 6;
    
        public static final int SID_TYPE_DOM_GRP = 2;
    
        public static final int SID_TYPE_DOMAIN = 3;
    
        public static final int SID_TYPE_INVALID = 7;
    
        public static final int SID_TYPE_UNKNOWN = 8;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

            indicesClient.prepareDelete(index).execute(new ActionListener<AcknowledgedResponse>() {
    
                @Override
                public void onResponse(final AcknowledgedResponse response) {
                    logger.info("Deleted {} index.", index);
                    comsumer.accept(response);
                }
    
                @Override
                public void onFailure(final Exception e) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            }
    
            final List<Map<String, Object>> afterList = readJobLog(NAME_PREFIX);
            assertEquals(0, afterList.size()); // check if logs are successfully deleted
        }
    
        /**
         * Test for CrawlingInfo
         * */
        private void testReadCrawlingInfo() {
            final List<Map<String, Object>> logList = readCrawlingInfo(webConfigId);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

        private long expiry = 30 * 24 * 60 * 60 * 1000L;
    
        public String execute() {
            try {
                final long count = ComponentUtil.getThumbnailManager().purge(getExpiry());
                return "Deleted " + count + " thumbnail files.";
            } catch (final Exception e) {
                logger.error("Failed to purge thumbnails.", e);
                return e.getMessage();
            }
        }
    
        public long getExpiry() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                        logger.warn("Thumbnail File is empty. ID is {}", thumbnailId);
                        if (outputFile.delete()) {
                            logger.info("Deleted: {}", outputFile.getAbsolutePath());
                        }
                        updateThumbnailField(thumbnailId, StringUtil.EMPTY);
                        return false;
                    }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top