Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setPriority (0.29 sec)

  1. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                }
                bulkRequestBuilder = null;
            }
        }
    
        public int getPriority() {
            return this.priority;
        }
    
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        public void setRequestTimeout(final String bulkRequestTimeout) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ingest/Ingester.java

    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;
        }
    
        public void register() {
            ComponentUtil.getIngestFactory().add(this);
        }
    
        // web/file
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

            factory.add(new TestIngester(3));
            Ingester[] ingesters = factory.getIngesters();
            assertEquals(1, ingesters[0].getPriority());
            assertEquals(2, ingesters[1].getPriority());
            assertEquals(3, ingesters[2].getPriority());
        }
    
        public void test_add_2() {
            IngestFactory factory = new IngestFactory();
            factory.add(new TestIngester(3));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

            return resultBuf.toString();
        }
    
        protected void addScoreBooster(final ScoreBooster scoreBooster) {
            scoreBoosterList.add(scoreBooster);
            scoreBoosterList.sort((b1, b2) -> b2.getPriority() - b1.getPriority());
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top