Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getPriority (0.16 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("0.8", ((SitemapUrl) sitemaps[0]).getPriority());
    
            assertNull(sitemaps[1].getLastmod());
            assertEquals("http://www.example.com/catalog?item=12&desc=vacation_hawaii", sitemaps[1].getLoc());
            assertEquals("weekly", ((SitemapUrl) sitemaps[1]).getChangefreq());
            assertNull(((SitemapUrl) sitemaps[1]).getPriority());
    
            assertEquals("2004-12-23", sitemaps[2].getLastmod());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. 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));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. 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());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                            String name = bean.getKey() instanceof com.google.inject.name.Named n ? n.value() : "";
                            map.compute(name, (n, ob) -> ob == null || ob.getPriority() < b.getPriority() ? b : ob);
                        }
                    }
                    //noinspection unchecked
                    return (Q) map(map, this::getInstance);
                };
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. 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
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                }
                bulkRequestBuilder = null;
            }
        }
    
        public int getPriority() {
            return priority;
        }
    
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        public void setRequestTimeout(final String bulkRequestTimeout) {
            requestTimeout = bulkRequestTimeout;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGeneratorFactory.java

        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new PluginsMetadataGenerator(session, request);
        }
    
        @Override
        public float getPriority() {
            return 10; // G level MD should be deployed as 3rd MD
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/SnapshotMetadataGeneratorFactory.java

        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new RemoteSnapshotMetadataGenerator(session, request);
        }
    
        @Override
        public float getPriority() {
            return 30; // GAV level metadata should be deployed 1st MD
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGeneratorFactory.java

        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new VersionsMetadataGenerator(session, request);
        }
    
        @Override
        public float getPriority() {
            return 20; // GA level metadata should be deployed 2nd MD
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

            return changefreq;
        }
    
        public void setChangefreq(final String changefreq) {
            this.changefreq = changefreq;
        }
    
        public String getPriority() {
            return priority;
        }
    
        public void setPriority(final String priority) {
            this.priority = priority;
        }
    
        @Override
        public boolean equals(final Object obj) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top