- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for getDocument (0.15 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) -
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/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/helper/SearchHelper.java
final OptionalThing<FessUserBean> userBean) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); return ComponentUtil.getSearchEngineClient().getDocument(fessConfig.getIndexDocumentSearchIndex(), builder -> { final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery().must(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 19.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
} else { docId = null; } if (StringUtil.isNotBlank(docId)) { return searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> { builder.setQuery(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId)); return true; });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 09:03:45 UTC 2024 - 18.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
try (final InputStream is = responseData.getResponseBody()) { final DOMParser parser = getDomParser(); parser.parse(new InputSource(is)); final Document document = parser.getDocument(); // base href final String baseHref = getBaseHref(document); URI uri; try { uri = new URI(baseHref == null ? responseData.getUrl() : baseHref);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Oct 24 12:16:00 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
} } return count; } public OptionalEntity<Map<String, Object>> getDocument(final String index, final SearchCondition<SearchRequestBuilder> condition) { return getDocument(index, condition, (response, hit) -> { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
parser.parse(is); } catch (final Exception e) { throw new CrawlingAccessException("Could not parse " + responseData.getUrl(), e); } final Document document = parser.getDocument(); processMetaRobots(responseData, resultData, document); processXRobotsTag(responseData, resultData); Map<String, Object> dataMap = new LinkedHashMap<>();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 42.9K bytes - Viewed (0)