Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getDocumentByDocId (0.39 sec)

  1. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            Map<String, Object> doc = null;
            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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            Map<String, Object> doc = null;
            try {
                doc = searchHelper
                        .getDocumentByDocId(form.docId, new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldConfigId() },
                                getUserBean())
                        .orElse(null);
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SearchHelper.java

         * @param userBean Optional user information for permission checking
         * @return Optional entity containing the document data if found
         */
        public OptionalEntity<Map<String, Object>> getDocumentByDocId(final String docId, final String[] fields,
                final OptionalThing<FessUserBean> userBean) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                if (docIds == null) {
                    throw new WebApiException(HttpServletResponse.SC_BAD_REQUEST, "No searched urls.");
                }
    
                searchHelper
                        .getDocumentByDocId(docId, new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldLang() },
                                OptionalThing.empty())
                        .ifPresent(doc -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
Back to top