- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for getTimestamp (0.23 seconds)
-
src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java
// Merge kinds mergedItem.setKinds(mergeKinds(item1.getKinds(), item2.getKinds())); // Take newer values from item2 mergedItem.setTimestamp(item2.getTimestamp()); mergedItem.setUserBoost(item2.getUserBoost()); mergedItem.setEmptySource(item2.toEmptyMap()); // Sum frequenciesCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java
} /** * Returns the event timestamp in milliseconds. * * @return the event timestamp in milliseconds */ public long getTimestamp() { return timestamp; } /** * Returns the log level name. * * @return the log level name */ public String getLevel() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java
appender.append(event); final List<LogNotificationEvent> events = ComponentUtil.getLogNotificationHelper().drainAll(); assertEquals(1, events.size()); assertEquals(now, events.get(0).getTimestamp()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
*/ public float getUserBoost() { return userBoost; } /** * Returns the timestamp of the suggest item. * @return The timestamp. */ public ZonedDateTime getTimestamp() { return timestamp; } /** * Sets the text of the suggest item. * @param text The text to set. */ public void setText(final String text) {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/ChatMessage.java
* Gets the message timestamp. * * @return the message timestamp */ public LocalDateTime getTimestamp() { return timestamp; } /** * Sets the message timestamp. * * @param timestamp the message timestamp */ public void setTimestamp(final LocalDateTime timestamp) { this.timestamp = timestamp; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 04:52:31 GMT 2026 - 10.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
return path; } /** * Returns the timestamp of this dictionary file. * * @return the timestamp when this dictionary was created or last modified */ public Date getTimestamp() { return timestamp; } /** * Sets the dictionary manager for this file and returns this instance. * * @param dictionaryManager the dictionary manager to setCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java
map.put(FieldNames.USER_BOOST, item.getUserBoost()); map.put(FieldNames.SCORE, (item.getQueryFreq() + item.getDocFreq()) * item.getUserBoost()); map.put(FieldNames.TIMESTAMP, item.getTimestamp().toInstant().toEpochMilli()); return map; } /** * Parses a source map from OpenSearch and creates a SuggestItem. * * @param source The source map from OpenSearch
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/ChatMessageTest.java
message.setContent("Test content"); message.setTimestamp(timestamp); message.setSources(sources); assertEquals("msg-123", message.getId()); assertEquals("assistant", message.getRole()); assertEquals("Test content", message.getContent()); assertEquals(timestamp, message.getTimestamp()); assertSame(sources, message.getSources()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
*/ public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) { getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> { if (currentFile.getTimestamp().getTime() > dictFile.getTimestamp().getTime()) { throw new DictionaryException(dictFile.getPath() + " was updated."); } // TODO use streamCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java
source.put("message", event.getMessage()); source.put("throwable", event.getThrowable() != null ? event.getThrowable() : ""); source.put("timestamp", event.getTimestamp()); bulkRequest.add(client.prepareIndex().setIndex(indexName).setSource(source)); } final BulkResponse response = bulkRequest.execute().actionGet(30_000L);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.5K bytes - Click Count (0)