Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setDocument (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top