- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 319 for Docstring (0.16 sec)
-
TermQueryCommandTest.java
assertQueryBuilder(null, null, text); L165: List<SortBuilder<?>> sortBuilders = queryContext.sortBuilders(); L166: assertEquals(1, sortBuilders.size()); L167: logger.info("{} => {}", text, sortBuilders.get(0).toString()); L168: assertEquals(expect, sortBuilders.get(0).toString().replaceAll("[\s\n]", "")); L169: } L170: L171: private QueryContext assertQueryBuilder(final Class<?> expectedClass, final String expectedQuery, final String text) throws Exception { L172: final QueryContext...github.com/codelibs/fess/src/test/java/org/code...Thu Jul 11 08:26:36 UTC 2024 9.2K bytes -
FacetInfo.java
newQuery; L94: } L95: if (logger.isDebugEnabled()) { L96: logger.debug("loaded facet query: {}", s); L97: } L98: } L99: L100: @Override L101: public String toString() { L102: return "FacetInfo [field=" + Arrays.toString(field) + ", query=" + Arrays.toString(query) + ", size=" + size + ", minDocCount=" L103: + minDocCount + ", sort=" + sort + ", missing=" + missing + "]"; L104: } L105:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.6K bytes -
EsAbstractConditionQuery.java
L510: if (format.contains("epoch_millis")) { L511: return Long.toString(date.getTime()); L512: } else if (format.contains("date_optional_time")) { L513: final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); L514: sdf.setTimeZone(TimeZone.getTimeZone("UTC")); L515: return sdf.format(date); L516: } else { L517: return Long.toString(date.getTime()); L518: } L519: } L520: L521: protected String ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 21.1K bytes -
EsAbstractConditionQuery.java
L510: if (format.contains("epoch_millis")) { L511: return Long.toString(date.getTime()); L512: } else if (format.contains("date_optional_time")) { L513: final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); L514: sdf.setTimeZone(TimeZone.getTimeZone("UTC")); L515: return sdf.format(date); L516: } else { L517: return Long.toString(date.getTime()); L518: } L519: } L520: L521: protected String ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 21.1K bytes -
DictionaryManager.java
"); L58: return fileList.stream().map(fileMap -> { L59: try { L60: final String path = fileMap.get("path").toString(); L61: final Date timestamp = L62: new SimpleDateFormat(Constants.DATE_FORMAT_ISO_8601_EXTEND_UTC).parse(fileMap.get("@timestamp").toString()); L63: for (final DictionaryCreator creator : creatorList) { L64: final DictionaryFile<? extends DictionaryItem>...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 5K bytes -
EsAbstractConditionQuery.java
L510: if (format.contains("epoch_millis")) { L511: return Long.toString(date.getTime()); L512: } else if (format.contains("date_optional_time")) { L513: final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); L514: sdf.setTimeZone(TimeZone.getTimeZone("UTC")); L515: return sdf.format(date); L516: } else { L517: return Long.toString(date.getTime()); L518: } L519: } L520: L521: protected String ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 21.1K bytes -
AccessToken.java
Date(getExpiredTime()); L51: } L52: L53: public void setExpires(final Date date) { L54: setExpiredTime(date != null ? date.getTime() : null); L55: } L56: L57: @Override L58: public String toString() { L59: return "AccessToken [name=" + name + ", token=" + token + ", permissions=" + Arrays.toString(permissions) + ", parameterName=" L60: + parameterName + ", createdBy=" + createdBy + ", createdTime=" + createdTime + ", updatedBy=" + updatedBy L61: + ", updatedTime="...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.9K bytes -
BsFavoriteLogBhv.java
entityType.newInstance(); L76: result.setCreatedAt(toLocalDateTime(source.get("createdAt"))); L77: result.setDocId(DfTypeUtil.toString(source.get("docId"))); L78: result.setQueryId(DfTypeUtil.toString(source.get("queryId"))); L79: result.setUrl(DfTypeUtil.toString(source.get("url"))); L80: result.setUserInfoId(DfTypeUtil.toString(source.get("userInfoId"))); L81: return updateEntity(source, result); L82: } catch (InstantiationException | IllegalAccessException...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.5K bytes -
HotThreadMonitorTarget.java
ue().getHotThreads())); L57: return tempBuf.toString(); L58: }).collect(Collectors.joining(",")); L59: buf.append(hotThreads).append(','); L60: } catch (final Exception e) { L61: appendException(buf, e).append(','); L62: } L63: L64: appendTimestamp(buf); L65: buf.append('}'); L66: L67: if (logger.isInfoEnabled()) { L68: logger.info(buf.toString()); L69: } L70: } L71: L72:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.1K bytes -
CrawlerStatsHelper.java
escapeValue(key); L200: } L201: if (keyObj instanceof final Number key) { L202: return key.toString(); L203: } L204: return "-"; L205: } L206: L207: protected OptionalThing<String> getCacheKey(final Object keyObj) { L208: if (keyObj instanceof final UrlQueue<?> urlQueue) { L209: return OptionalThing.of(urlQueue.getId().toString()); L210: } L211: if (keyObj instanceof final StatsKeyObject statsKey) { L212: return ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 9.9K bytes