- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for toInstant (0.08 sec)
-
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) -
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) -
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) -
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) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
responseData.setCharSet(getCharset()); responseData.setLastModified(statObject.lastModified() == null ? null : Date.from(statObject.lastModified().toInstant())); responseData.setMimeType(statObject.contentType()); statObject.headers().forEach(e -> responseData.addMetaData(e.getFirst(), e.getSecond())); if (contentLengthHelper != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 13.9K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
} public void test_getCurrentTimeAsLocalDateTime() { final long current = 1000 * systemHelper.getCurrentTimeAsLocalDateTime().atZone(ZoneId.systemDefault()).toInstant().getEpochSecond(); final long now = System.currentTimeMillis(); assertTrue(now + ">=" + current + " : " + (now - current), now >= current);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
* either the field is absent or cannot be parsed as a date. */ @IgnoreJRERequirement // Only programs that already have Instant will use this. fun getInstant(name: String): Instant? { return getDate(name)?.toInstant() } /** Returns the number of field values. */ @get:JvmName("size") val size: Int get() = namesAndValues.size / 2 @JvmName("-deprecated_size") @Deprecated( message = "moved to val",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.5K bytes - Viewed (0) -
api/go1.5.txt
pkg go/constant, const Bool = 1 pkg go/constant, const Bool Kind pkg go/constant, const Complex = 5 pkg go/constant, const Complex Kind pkg go/constant, const Float = 4 pkg go/constant, const Float Kind pkg go/constant, const Int = 3 pkg go/constant, const Int Kind pkg go/constant, const String = 2 pkg go/constant, const String Kind pkg go/constant, const Unknown = 0
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0)