Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ingesters (0.18 sec)

  1. 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)
  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/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)
  4. 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)
  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)
  7. docs/nl/docs/environment-variables.md

    //// tab | Linux, macOS, Windows Bash
    
    <div class="termy">
    
    ```console
    // Hier stellen we de omgevingsvariabelen nog niet in
    $ python main.py
    
    // Omdat we de omgevingsvariabelen niet hebben ingesteld, krijgen we de standaardwaarde
    
    Hello World from Python
    
    // Maar als we eerst een omgevingsvariabele aanmaken
    $ export MY_NAME="Wade Wilson"
    
    // en het programma dan opnieuw aanroepen
    $ python main.py
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:13:32 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top