Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 168 for ifPresent (0.06 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            final long requestedTime = startTime;
    
            final SearchRequestParams params = rewrite(searchRequestParams);
    
            LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                request.setAttribute(Constants.REQUEST_LANGUAGES, params.getLanguages());
                request.setAttribute(Constants.REQUEST_QUERIES, params.getQuery());
            });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java

        }
    
        // DELETE /api/admin/relatedcontent/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            relatedContentService.getRelatedContent(id).ifPresent(entity -> {
                try {
                    relatedContentService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/UserService.java

            final boolean changed = ComponentUtil.getAuthenticationManager().changePassword(username, password);
            if (changed) {
                userBhv.selectEntity(cb -> cb.query().setName_Equal(username)).ifPresent(entity -> {
                    final String encodedPassword = fessLoginAssist.encryptPassword(password);
                    entity.setPassword(encodedPassword);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

        }
    
        // DELETE /api/admin/duplicatehost/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            duplicateHostService.getDuplicateHost(id).ifPresent(entity -> {
                try {
                    duplicateHostService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryCommand.java

            }
            final float importantContantLangBoost = fessConfig.getQueryBoostImportantContentLangAsDecimal().floatValue();
            getQueryLanguages().ifPresent(langs -> stream(langs).of(stream -> stream.forEach(lang -> {
                defaultQuery.add(
                        builder.apply(fessConfig.getIndexFieldTitle() + "_" + lang, fessConfig.getQueryBoostTitleLangAsDecimal().floatValue()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

            final LuceneQueryParser parser = new LuceneQueryParser(defaultField, analyzer);
            parser.setAllowLeadingWildcard(allowLeadingWildcard);
            LaRequestUtil.getOptionalRequest().ifPresent(req -> {
                if (req.getAttribute(Constants.DEFAULT_QUERY_OPERATOR) instanceof final String op) {
                    parser.setDefaultOperator(Operator.valueOf(op));
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                resultList.add(executorService.submit(() -> {
                    try {
                        if (externalContext != null) {
                            requestOpt.ifPresent(externalContext::setRequest);
                            responseOpt.ifPresent(externalContext::setResponse);
                        }
                        return searcher.search(query, reqParams, userBean);
                    } finally {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/crawlinginfo/log/{id}
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
            crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> {
                try {
                    crawlingInfoService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/failureurl/log/{id}
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
            failureUrlService.getFailureUrl(id).ifPresent(entity -> {
                try {
                    failureUrlService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

        }
    
        // DELETE /api/admin/fileauth/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            fileAuthService.getFileAuthentication(id).ifPresent(entity -> {
                try {
                    fileAuthService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top