Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for floatValue (0.2 sec)

  1. src/main/java/org/codelibs/fess/query/QueryCommand.java

            boolQuery.should(builder.apply(fessConfig.getIndexFieldTitle(), fessConfig.getQueryBoostTitleAsDecimal().floatValue()));
            boolQuery.should(builder.apply(fessConfig.getIndexFieldContent(), fessConfig.getQueryBoostContentAsDecimal().floatValue()));
            final float importantContentBoost = fessConfig.getQueryBoostImportantContentAsDecimal().floatValue();
            if (importantContentBoost >= 0.0f) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            if (value instanceof Integer) {
                return ((Integer) value).floatValue();
            }
            if (value instanceof Long) {
                return ((Long) value).floatValue();
            }
            if (value instanceof Float) {
                return ((Float) value);
            }
            if (value instanceof Double) {
                return ((Double) value).floatValue();
            }
            if (value != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Float) {
                return (Float) o;
            } else if (o instanceof Number) {
                return new Float(((Number) o).floatValue());
            } else if (o instanceof String) {
                return toFloat((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
            assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
            assertEquals(Double.parseDouble(expected), DocumentUtil.getValue(doc, "key1", Double.class).doubleValue());
    
            assertNull(DocumentUtil.getValue(doc, "key2", String.class));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    final int thumbnailHeight = (int) ((height > width ? width : height)
                            * fessConfig.getThumbnailHtmlImageThumbnailWidthAsInteger().floatValue() / width);
                    final BufferedImage thumbnail = new BufferedImage(thumbnailWidth, thumbnailHeight, image.getType());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top