Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for float32 (0.03 sec)

  1. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

        }
    
        @Test
        public void testToSuggestItemWithLargeBoost() {
            // Test toSuggestItem with large boost value
            String word = "large boost";
            float boost = Float.MAX_VALUE;
            List<String> readings = Arrays.asList("reading1");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

        }
    
        /**
         * Gets the weight/priority of this request.
         * @return the weight
         */
        public float getWeight() {
            return weight;
        }
    
        /**
         * Sets the weight/priority of this request.
         * @param weight the weight
         */
        public void setWeight(float weight) {
            this.weight = weight;
        }
    
        /**
         * Returns the hash code for this RequestData.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

        /**
         * Retrieves the weight of the URL queue.
         *
         * @return the weight as a float value.
         */
        float getWeight();
    
        /**
         * Sets the weight of the URL queue.
         *
         * @param weight the weight to set
         */
        void setWeight(float weight);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. 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;
        }
    
        /**
         * Returns a string representation of this object.
         * @return A string representation.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/resources/mapping/queue.json

          "depth": {
            "type": "integer"
          },
          "parentUrl": {
            "type": "keyword"
          },
          "method": {
            "type": "keyword"
          },
          "weight": {
            "type": "float"
          },
          "createTime": {
            "type": "long"
          },
          "lastModified": {
            "type": "long"
          },
          "sessionId": {
            "type": "keyword"
          },
          "url": {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 457 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

    public class ElevateWord {
    
        /**
         * The elevate word.
         */
        protected final String elevateWord;
    
        /**
         * The boost value associated with the elevate word.
         */
        protected final float boost;
    
        /**
         * The list of readings associated with the elevate word.
         */
        protected final List<String> readings;
    
        /**
         * The list of fields associated with the elevate word.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            final long docFreq = Long.parseLong(source.get(FieldNames.DOC_FREQ).toString());
            final long queryFreq = Long.parseLong(source.get(FieldNames.QUERY_FREQ).toString());
            final float userBoost = Float.parseFloat(source.get(FieldNames.USER_BOOST).toString());
            final List<String> tags = SuggestUtil.getAsList(source.get(FieldNames.TAGS));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

        }
    
        /**
         * Retrieves a setting value as a float.
         * @param key The key of the setting.
         * @param defaultValue The default value if the setting is not found.
         * @return The setting value as a float.
         */
        public float getAsFloat(final String key, final float defaultValue) {
            final Object obj = get(key);
    
            final float value;
            if (obj == null) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

                if (!(value instanceof Double)) {
                    return (T) Double.valueOf(value.toString());
                }
            } else if (clazz.isAssignableFrom(Float.class)) {
                if (!(value instanceof Float)) {
                    return (T) Float.valueOf(value.toString());
                }
            } else if (clazz.isAssignableFrom(Boolean.class) && !(value instanceof Boolean)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

            settings.set(key, value);
            assertEquals(value, settings.getAsLong(key, -1));
        }
    
        @Test
        public void test_setAndGetAsFloat() {
            String key = "key";
            float value = 0.01F;
            settings.set(key, value);
            assertEquals(value, settings.getAsFloat(key, -1), 0);
        }
    
        @Test
        public void test_setAndGetAsBoolean() {
            String key = "key";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top