- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 332 for generateId (0.05 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
return map; } /** * Generates a unique document ID from the provided data map. * Constructs an ID string from URL, roles, and virtual hosts, then generates a hash. * * @param dataMap the document data map containing URL, roles, and virtual host information * @return a unique hashed ID string for the document */ public String generateId(final Map<String, Object> dataMap) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 15.2K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.6K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.1K bytes - Viewed (1) -
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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.3K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
this.defaultGeoInfo = defaultGeoInfo; } /** * Generates a unique identifier string by creating a UUID and removing hyphens. * * @return a unique identifier string */ public String generateId() { return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.9K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0)