- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for getDocument (0.13 sec)
-
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
assertNull(transformer.getThumbnailUrl(responseData, getDocument(data))); data = "<img src=\"http://example/foo.jpg\" width=\"x\" height=\"x\">"; assertNull(transformer.getThumbnailUrl(responseData, getDocument(data))); data = "<img src=\"http://example/foo.jpg\" width=\"10\" height=\"100\">"; assertNull(transformer.getThumbnailUrl(responseData, getDocument(data)));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 41.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
return searchEngineClient.deleteByQuery(index, queryBuilder); } public Map<String, Object> getDocument(final SearchEngineClient searchEngineClient, final String id, final String[] fields) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); return searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> { builder.setQuery(QueryBuilders.idsQuery().addIds(id));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
} catch (final Exception e) { logger.warn("Failed to parse the content.", e); return new ExtractData(extractString(content)); } final Document document = parser.getDocument(); try { final ExtractData extractData = new ExtractData( StreamUtil.stream(getStringsByXPath(document, contentXpath)).get(stream -> stream.collect(Collectors.joining(" "))));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
final InputSource inputSource = new InputSource(bis); inputSource.setEncoding(enc); parser.parse(inputSource); final Document document = parser.getDocument(); final StringBuilder buf = new StringBuilder(255); final XPathNodes nodeList = getXPathAPI().selectNodeList(document, targetNodePath); for (int i = 0; i < nodeList.size(); i++) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
final Map<String, String> resultMap = new HashMap<>(); final SearchEngineClient client = new SearchEngineClient() { @Override public OptionalEntity<Map<String, Object>> getDocument(final String index, final SearchCondition<SearchRequestBuilder> condition) { final SearchRequestBuilder builder = new SearchRequestBuilder(this, SearchAction.INSTANCE);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 08:54:24 UTC 2024 - 23.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
parser.parse(is); } catch (final Exception e) { throw new CrawlingAccessException("Could not parse " + responseData.getUrl(), e); } final Document document = parser.getDocument(); final StringBuilder buf = new StringBuilder(1000); buf.append(getResultDataHeader()); for (final Map.Entry<String, String> entry : fieldRuleMap.entrySet()) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 8.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
final IndexingHelper indexingHelper = ComponentUtil.getIndexingHelper(); try { final Map<String, Object> doc = indexingHelper.getDocument(searchEngineClient, id, new String[] { fessConfig.getIndexFieldThumbnail(), fessConfig.getIndexFieldConfigId() }); if (doc == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
} // GET /api/admin/searchlist/doc/{doc_id} @Execute public JsonResponse<ApiResult> get$doc(final String id) { return asJson(new ApiDocResponse().doc(searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> { builder.setQuery(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), id)); return true; }).orElseGet(() -> {
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/crawler/FessCrawlerThread.java
if (logger.isDebugEnabled()) { logger.debug("Searching indexed document: {}", id); } final Map<String, Object> document = indexingHelper.getDocument(searchEngineClient, id, new String[] { fessConfig.getIndexFieldId(), fessConfig.getIndexFieldLastModified(),
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/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
final ByteArrayInputStream is = new ByteArrayInputStream(html.getBytes("UTF-8")); parser.parse(new InputSource(is)); Node node = parser.getDocument().getFirstChild().getLastChild().getFirstChild(); return tag.matches(node); } public void test_normalizeQueryLanguages() { FessProp.propMap.clear();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.7K bytes - Viewed (0)