- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 846 for generateId (0.06 sec)
-
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 470)).length()); assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 480)).length()); assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 490)).length()); assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 500)).length());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
map.put(crawlingInfoParam.getKey(), crawlingInfoParam.getValue()); } return map; } public String generateId(final Map<String, Object> dataMap) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String url = (String) dataMap.get(fessConfig.getIndexFieldUrl());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
try { entity.putAll(fessConfig.convertToStorableDoc(body.doc)); final String newId = ComponentUtil.getCrawlingInfoHelper().generateId(entity); entity.put(fessConfig.getIndexFieldId(), newId); final String index = fessConfig.getIndexDocumentUpdateIndex(); searchEngineClient.store(index, entity);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 09:03:45 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
getDoc(form).ifPresent(entity -> { try { entity.putAll(fessConfig.convertToStorableDoc(form.doc)); final String newId = ComponentUtil.getCrawlingInfoHelper().generateId(entity); entity.put(fessConfig.getIndexFieldId(), newId); final String index = fessConfig.getIndexDocumentUpdateIndex(); searchEngineClient.store(index, entity);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 09:03:45 UTC 2024 - 18.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper(); dataMap.put(fessConfig.getIndexFieldId(), crawlingInfoHelper.generateId(dataMap)); final String url = dataMap.get(fessConfig.getIndexFieldUrl()).toString(); if (fessConfig.getIndexerClickCountEnabledAsBoolean()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
AdminSearchlistAction.validateFields(doc, this::throwValidationErrorApi); final Map<String, Object> newDoc = fessConfig.convertToStorableDoc(doc); newDoc.put(indexFieldId, crawlingInfoHelper.generateId(newDoc)); newDoc.put(indexFieldDocId, systemHelper.generateDocId(newDoc)); if (newDoc.get(indexFieldLang) instanceof final List<?> langList) { if (langList.contains("auto")) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 25 01:48:41 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
putResultDataBody(dataMap, fessConfig.getIndexFieldLang(), fessConfig.getCrawlerDocumentFileDefaultLang()); } // id putResultDataBody(dataMap, fessConfig.getIndexFieldId(), crawlingInfoHelper.generateId(dataMap)); // parentId String parentUrl = responseData.getParentUrl(); if (StringUtil.isNotBlank(parentUrl)) { parentUrl = pathMappingHelper.replaceUrl(sessionId, parentUrl);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
return defaultGeoInfo; } public void setDefaultGeoInfo(final GeoInfo defaultGeoInfo) { this.defaultGeoInfo = defaultGeoInfo; } public String generateId() { return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY); } public void addBoostFunction(final ScoreFunctionBuilder<?> scoreFunction) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
} } dataMap.put(fessConfig.getIndexFieldRole(), roleTypeList); final String id = crawlingInfoHelper.generateId(dataMap); if (logger.isDebugEnabled()) { logger.debug("Searching indexed document: {}", id); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
} catch (final Exception e) { execTime = StringUtil.EMPTY; } data.setExecTime(execTime); final String queryId = ComponentUtil.getQueryHelper().generateId(); data.setPageSize(queryResponseList.getPageSize()); data.setCurrentPageNumber(queryResponseList.getCurrentPageNumber()); data.setAllRecordCount(queryResponseList.getAllRecordCount());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 19.1K bytes - Viewed (0)