- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getContent (0.1 sec)
-
DocumentHelperTest.java
= new HashMap<>(); L36: assertEquals("", documentHelper.getContent(null, responseData, null, dataMap)); L37: assertEquals("", documentHelper.getContent(null, responseData, "", dataMap)); L38: assertEquals("", documentHelper.getContent(null, responseData, " ", dataMap)); L39: assertEquals("", documentHelper.getContent(null, responseData, " ", dataMap)); L40: assertEquals("", documentHelper.getContent(null, responseData, "\t", dataMap)); L41: assertEquals("",...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 11K bytes -
RelatedContentDbm.java
Column Property L79: // --------------- L80: protected final Map<String, PropertyGateway> _epgMap = newHashMap(); L81: { L82: setupEpg(_epgMap, et -> ((RelatedContent) et).getContent(), (et, vl) -> ((RelatedContent) et).setContent(DfTypeUtil.toString(vl)), L83: "content"); L84: setupEpg(_epgMap, et -> ((RelatedContent) et).getCreatedBy(), L85: (et, vl) -> ((RelatedContent) et).setCreatedBy(DfTypeUtil.toString(vl)),...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 10.8K bytes -
AzureAdAuthenticator.java
response = Curl.get(url).header("Authorization", "Bearer " + user.getAuthenticationResult().getAccessToken()) L371: .header("Accept", "application/json").execute()) { L372: final Map<String, Object> contentMap = response.getContent(OpenSearchCurl.jsonParser()); L373: if (logger.isDebugEnabled()) { L374: logger.debug("response: {}", contentMap); L375: } L376: if (contentMap.containsKey("value")) { L377: @Suppre...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 28.2K bytes -
DocumentHelper.java
TextUtil.normalizeText(reader).initialCapacity(title.length()).spaceChars(spaceChars).execute(); L101: } catch (final IOException e) { L102: return StringUtil.EMPTY; // empty L103: } L104: } L105: L106: public String getContent(final CrawlingConfig crawlingConfig, final ResponseData responseData, final String content, L107: final Map<String, Object> dataMap) { L108: if (content == null) { L109: return StringUtil.EMPTY; // empty L110: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 12K bytes -
AbstractFessFileTransformer.java
L100: try (final InputStream in = responseData.getResponseBody()) { L101: final ExtractData extractData = getExtractData(extractor, in, createExtractParams(responseData, crawlingConfig)); L102: content = extractData.getContent(); L103: if (fessConfig.isCrawlerDocumentFileIgnoreEmptyContent() && StringUtil.isBlank(content)) { L104: return null; L105: } L106: if (getLogger().isDebugEnabled()) { L107: getLog...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 23.6K bytes -
FessXpathTransformer.java
final ResponseData responseData, final FessConfig fessConfig, L514: final CrawlingConfig crawlingConfig, final DocumentHelper documentHelper, final String body, final String fileName) { L515: final String content = documentHelper.getContent(crawlingConfig, responseData, body, dataMap); L516: if (StringUtil.isNotBlank(fileName) && fessConfig.isCrawlerDocumentAppendFilename()) { L517: putResultDataBody(dataMap, fessConfig.getIndexFieldContent(), content + " " + fileName);...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 13:01:38 UTC 2024 42.9K bytes -
BsRelatedContentBhv.java
@Override L73: protected <RESULT extends RelatedContent> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) { L74: try { L75: final RESULT result = entityType.newInstance(); L76: result.setContent(DfTypeUtil.toString(source.get("content"))); L77: result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); L78: result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); L79: result.setSortO...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.9K bytes