Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for docid2 (0.04 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                // Override to avoid null pointer issues
                final String docid = (String) docMap.get("_id");
                if (docid == null) {
                    return "default.jpg";
                }
                return getImageFilename(docid);
            }
    
            @Override
            public void destroy() {
                // Override to avoid null pointer issues with thread
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    throw new WebApiException(HttpServletResponse.SC_BAD_REQUEST, "docId is empty.");
                }
                final String docId = docIdObj.toString();
                final String queryId = request.getParameter("queryId");
    
                final String[] docIds = userInfoHelper.getResultDocIds(URLDecoder.decode(queryId, Constants.UTF_8));
                if (docIds == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                jsonPath = JsonPath.from(response.asString());
            }
    
            for (String docId : docIds) {
                given().contentType("application/json").delete(getEsUrl() + "/" + DOC_INDEX_NAME + "/" + docId);
            }
        }
    
        protected static List<Map<String, Object>> readCrawlingInfo(final String configId) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                builder.setFetchSource(fields, null);
                queryHelper.processSearchPreference(builder, userBean, docId);
                return true;
            });
    
        }
    
        /**
         * Retrieves multiple documents by their document IDs.
         *
         * @param docIds Array of document IDs to retrieve
         * @param fields Array of field names to include in the results
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            final StringBuilder buf = new StringBuilder(50);
            for (int i = 0; i < docid.length(); i += splitSize) {
                int hash = docid.substring(i).hashCode() % splitHashSize;
                if (hash < 0) {
                    hash *= -1;
                }
                buf.append('_').append(Integer.toString(hash)).append('/');
            }
            buf.append(docid).append('.').append(imageExtention);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

            try {
                doc = searchHelper
                        .getDocumentByDocId(form.docId, new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldConfigId() },
                                getUserBean())
                        .orElse(null);
            } catch (final Exception e) {
                logger.warn("Failed to request: {}", form.docId, e);
            }
            if (doc == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                final String docId;
                if (form.doc != null) {
                    docId = (String) form.doc.get(fessConfig.getIndexFieldDocId());
                } else {
                    docId = null;
                }
                if (StringUtil.isNotBlank(docId)) {
                    return searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

            try {
                doc = searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getCacheResponseFields(), getUserBean()).orElse(null);
            } catch (final Exception e) {
                logger.warn("Failed to request: {}", form.docId, e);
            }
            if (doc == null) {
                saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId));
                return redirect(ErrorAction.class);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                                        final String docId = DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class);
                                        if (id != null && docId != null && clickCountMap.containsKey(docId)) {
                                            final Integer count = clickCountMap.get(docId);
                                            final Script script = ComponentUtil.getLanguageHelper()
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                for (final Map<String, Object> map : documentItems) {
                    final Object docId = map.get(fessConfig.getIndexFieldDocId());
                    if (docId != null && docId.toString().length() > 0) {
                        docIdList.add(docId.toString());
                    }
                }
    
                if (!docIdList.isEmpty()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top