Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getWeight (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

            });
            assertEquals(1, extractorFactory.getExtractor(key).getWeight());
            extractorFactory.addExtractor(key, new Extractor() {
                @Override
                public ExtractData getText(InputStream in, Map<String, String> params) {
                    return null;
                }
    
                @Override
                public int getWeight() {
                    return 10;
                }
            });
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:13 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

            }
            if (extractorMap.containsKey(key)) {
                final Extractor oldExtractor = extractorMap.get(key);
                if (oldExtractor.getWeight() > extractor.getWeight()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Ignored {} on {}. Use {}.", extractor.getClass().getName(), key, oldExtractor.getClass().getName());
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

        void setDepth(Integer depth);
    
        Long getLastModified();
    
        void setLastModified(Long lastModified);
    
        Long getCreateTime();
    
        void setCreateTime(Long createTime);
    
        float getWeight();
    
        void setWeight(float weight);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/Extractor.java

    import org.codelibs.fess.crawler.entity.ExtractData;
    
    /**
     * @author shinsuke
     *
     */
    public interface Extractor {
    
        ExtractData getText(InputStream in, Map<String, String> params);
    
        default int getWeight() {
            return 1;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:13 UTC 2024
    - 960 bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

                  } else if (map.isExpired(e, now)) {
                    // This is a duplicate check, as preWriteCleanup already purged expired
                    // entries, but let's accommodate an incorrect expiration queue.
                    enqueueNotification(
                        entryKey, hash, value, valueReference.getWeight(), RemovalCause.EXPIRED);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

         */
        @Override
        public void setLastModified(final Long lastModified) {
            this.lastModified = lastModified;
        }
    
        @Override
        public float getWeight() {
            return weight;
        }
    
        @Override
        public void setWeight(float weight) {
            this.weight = weight;
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          return new DummyValueReference<>();
        }
    
        @Override
        public V get() {
          return value;
        }
    
        @Override
        public int getWeight() {
          return 1;
        }
    
        @Override
        public @Nullable ReferenceEntry<K, V> getEntry() {
          return null;
        }
    
        @Override
        public ValueReference<K, V> copyFor(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          return new DummyValueReference<>();
        }
    
        @Override
        public V get() {
          return value;
        }
    
        @Override
        public int getWeight() {
          return 1;
        }
    
        @Override
        public @Nullable ReferenceEntry<K, V> getEntry() {
          return null;
        }
    
        @Override
        public ValueReference<K, V> copyFor(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            BufferedImage img = ImageIO.read(file);
            logger.debug("width: {}, height: {}", img.getWidth(), img.getHeight());
            assertEquals("Image Width", width, img.getWidth());
            assertEquals("Image Height", height, img.getHeight());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                    .missing(0.1f).modifier(FieldValueFactorFunction.Modifier.LOG2P).setWeight(1.0F)));
            flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.fieldValueFactorFunction(FieldNames.QUERY_FREQ)
                    .missing(0.1f).modifier(FieldValueFactorFunction.Modifier.LOG2P).setWeight(1.0F)));
            flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top