Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for DuplicateHostHelper (0.1 sec)

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

    import org.codelibs.fess.es.config.exentity.DuplicateHost;
    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.annotation.PostConstruct;
    
    public class DuplicateHostHelper {
        private static final Logger logger = LogManager.getLogger(DuplicateHostHelper.class);
    
        protected List<DuplicateHost> duplicateHostList;
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DuplicateHostHelperTest extends UnitFessTestCase {
        private DuplicateHostHelper duplicateHostHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            duplicateHostHelper = new DuplicateHostHelper();
            duplicateHostHelper.duplicateHostList = new ArrayList<DuplicateHost>();
    
            DuplicateHost foo = new DuplicateHost();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/Crawler.java

                // duplicate host
                try {
                    final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper();
                    duplicateHostHelper.init();
                } catch (final Exception e) {
                    logger.warn("Could not initialize duplicateHostHelper.", e);
                }
    
                // delete expired sessions
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            if (StringUtil.isNotBlank(childUrl)) {
                final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper();
                final String url = duplicateHostHelper.convert(childUrl);
                super.storeChildUrl(url, parentUrl, metaData, depth);
            }
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                    } catch (final Exception e) {
                        logger.warn("Failed to delete url filters for {}", sid);
                    }
                }
    
                final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper();
    
                // set urls
                split(urlsStr, "[\r\n]").of(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).distinct().forEach(urlValue -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ComponentUtil.java

    import org.codelibs.fess.helper.CrawlingConfigHelper;
    import org.codelibs.fess.helper.CrawlingInfoHelper;
    import org.codelibs.fess.helper.CurlHelper;
    import org.codelibs.fess.helper.DocumentHelper;
    import org.codelibs.fess.helper.DuplicateHostHelper;
    import org.codelibs.fess.helper.FileTypeHelper;
    import org.codelibs.fess.helper.IndexingHelper;
    import org.codelibs.fess.helper.IntervalControlHelper;
    import org.codelibs.fess.helper.JobHelper;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        }
    
        protected String replaceDuplicateHost(final String url) {
            try {
                // remove duplicate host
                final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper();
                return duplicateHostHelper.convert(url);
            } catch (final Exception e) {
                return url;
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top