Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for toEpochMilli (0.26 sec)

  1. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
            boolQueryBuilder
                    .must(QueryBuilders.rangeQuery(FieldNames.TIMESTAMP).lt(time.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()));
    
            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            map.put(FieldNames.DOC_FREQ, docFreq);
            map.put(FieldNames.USER_BOOST, userBoost);
            map.put(FieldNames.SCORE, (queryFreq + docFreq) * userBoost);
            map.put(FieldNames.TIMESTAMP, timestamp.toInstant().toEpochMilli());
            return map;
        }
    
        public static SuggestItem parseSource(final Map<String, Object> source) {
            final String text = source.get(FieldNames.TEXT).toString();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            } else if (format.contains("date_optional_time")) {
                return DateTimeFormatter.ISO_DATE_TIME.format(date);
            } else {
                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

    // See explanation in `org.gradle.api.internal.file.archive.ZipEntryConstants#CONSTANT_TIME_FOR_ZIP_ENTRIES`
    private
    val zipEntryBaseTimestamp = LocalDateTime.of(1980, 2, 1, 0, 0, 0)
        .atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()
    
    
    object Attributes {
        val artifactType = Attribute.of("artifactType", String::class.java)
        val minified = Attribute.of("minified", Boolean::class.javaObjectType)
    }
    
    
    class JarAnalyzer(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            } else if (format.contains("date_optional_time")) {
                return DateTimeFormatter.ISO_DATE_TIME.format(date);
            } else {
                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            } else if (format.contains("date_optional_time")) {
                return DateTimeFormatter.ISO_DATE_TIME.format(date);
            } else {
                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        public SuggestDeleteResponse deleteOldWords(final ZonedDateTime threshold) {
            final long start = System.currentTimeMillis();
            final String query = FieldNames.TIMESTAMP + ":[* TO " + threshold.toInstant().toEpochMilli() + "] NOT " + FieldNames.KINDS + ':'
                    + SuggestItem.Kind.USER;
            deleteByQuery(query);
            return new SuggestDeleteResponse(null, System.currentTimeMillis() - start);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top