Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Ingester (0.05 sec)

  1. src/main/java/org/codelibs/fess/ingest/Ingester.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.util.ComponentUtil;
    
    public abstract class Ingester {
    
        protected int priority = 99;
    
        public int getPriority() {
            return priority;
        }
    
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

        private Ingester[] ingesters = {};
    
        public synchronized void add(final Ingester ingester) {
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", ingester.getClass().getSimpleName());
            }
            final Ingester[] newIngesters = Arrays.copyOf(ingesters, ingesters.length + 1);
            newIngesters[ingesters.length] = ingester;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                return dataMap;
            }
            Map<String, Object> target = dataMap;
            for (final Ingester ingester : ingestFactory.getIngesters()) {
                try {
                    target = ingester.process(target, paramMap);
                } catch (final Exception e) {
                    logger.warn("Failed to process Ingest[{}]", ingester.getClass().getSimpleName(), e);
                }
            }
            return target;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

            factory.add(new TestIngester(2));
            factory.add(new TestIngester(1));
            Ingester[] ingesters = factory.getIngesters();
            assertEquals(1, ingesters[0].getPriority());
            assertEquals(2, ingesters[1].getPriority());
            assertEquals(3, ingesters[2].getPriority());
        }
    
        private static class TestIngester extends Ingester {
            public TestIngester(int priority) {
                this.priority = priority;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java

                return resultData;
            }
            ResultData target = resultData;
            for (final Ingester ingester : ingestFactory.getIngesters()) {
                try {
                    target = ingester.process(target, responseData);
                } catch (final Exception e) {
                    logger.warn("Failed to process Ingest[{}]", ingester.getClass().getSimpleName(), e);
                }
            }
            return target;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                return map;
            }
            Map<String, Object> target = map;
            for (final Ingester ingester : ingestFactory.getIngesters()) {
                try {
                    target = ingester.process(target, accessResult);
                } catch (final Exception e) {
                    logger.warn("Failed to process Ingest[{}]", ingester.getClass().getSimpleName(), e);
                }
            }
            return target;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top