- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for generateDocId (0.11 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
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")) { newDoc.remove(indexFieldLang); }
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/ds/callback/IndexUpdateCallbackImpl.java
} if (!dataMap.containsKey(fessConfig.getIndexFieldDocId())) { dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap)); } ComponentUtil.getLanguageHelper().updateDocument(dataMap); synchronized (docList) { docList.add(ingest(paramMap, dataMap));
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/test/java/org/codelibs/fess/helper/SystemHelperTest.java
systemHelper.setForceStop(false); assertFalse(systemHelper.isForceStop()); } public void test_generateDocId() { final String docId = systemHelper.generateDocId(Collections.emptyMap()); assertNotNull(docId); assertEquals(32, docId.length()); } public void test_abbreviateLongText() { assertEquals("", systemHelper.abbreviateLongText(""));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
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/indexer/IndexUpdater.java
addBoostValue(map, documentBoost); } if (!map.containsKey(fessConfig.getIndexFieldDocId())) { map.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(map)); } ComponentUtil.getLanguageHelper().updateDocument(map); } protected void addBoostValue(final Map<String, Object> map, final float documentBoost) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
} public boolean isForceStop() { return forceStop.get(); } public void setForceStop(final boolean b) { forceStop.set(b); } public String generateDocId(final Map<String, Object> map) { return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY); } public String abbreviateLongText(final String str) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 27.2K bytes - Viewed (0)