Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 168 for ifPresent (0.06 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

        }
    
        // DELETE /api/admin/elevateword/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            try {
                elevateWordService.getElevateWord(id).ifPresent(entity -> {
                    try {
                        elevateWordService.delete(entity);
                        suggestHelper.deleteElevateWord(entity.getSuggestWord(), false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

                        entity.getCrawlingInfo().ifPresent(crawlingInfo -> {
                            addToList(list, crawlingInfo.getSessionId());
                            addToList(list, crawlingInfo.getCreatedTime());
                        });
                        // TODO
                        if (!entity.getCrawlingInfo().isPresent()) {
                            addToList(list, "");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                } else {
                    session.getAllProjects().stream()
                            .filter(MavenProject::isExecutionRoot)
                            .findFirst()
                            .ifPresent(buildResumptionDataRepository::removeResumptionData);
                }
            } finally {
                try {
                    afterSessionEnd(session);
                } catch (MavenExecutionException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            });
        }
    
        @Execute
        public HtmlResponse search(final SearchForm form) {
            if (viewHelper.isUseSession()) {
                LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                    final HttpSession session = request.getSession(false);
                    if (session != null && form.num != null) {
                        session.setAttribute(Constants.RESULTS_PER_PAGE, form.num);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                return;
            }
    
            try {
                getSessionManager().getAttribute(Constants.SEARCH_ENGINE_API_ACCESS_TOKEN, String.class).ifPresent(token -> {
                    final String servletPath = request.getServletPath();
                    final String pathPrefix = ADMIN_SERVER + token;
                    if (!servletPath.startsWith(pathPrefix)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                    out.write(fis);
                }
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final FileAccessForm form) {
            getTargetFile(form.fileName).ifPresent(file -> {
                if (!file.delete()) {
                    logger.error("Failed to delete {}", file.getAbsolutePath());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/CrawlJob.java

            cmdList.add(fessConfig.getJavaCommandPath());
    
            // -cp
            cmdList.add("-cp");
            final StringBuilder buf = new StringBuilder(100);
            ResourceUtil.getOverrideConfPath().ifPresent(p -> {
                buf.append(p);
                buf.append(cpSeparator);
            });
            final String confPath = System.getProperty(Constants.FESS_CONF_PATH);
            if (StringUtil.isNotBlank(confPath)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                                final String configId = (String) doc.get(fessConfig.getIndexFieldConfigId());
                                crawlingConfigHelper.getPipeline(configId).ifPresent(s -> builder.setPipeline(s));
                            });
                    if (response.hasFailures()) {
                        if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                }
    
                searchHelper.getDocumentByDocId(docId, new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldLang() },
                        OptionalThing.empty()).ifPresent(doc -> {
                            final String favoriteUrl = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class);
                            final String userCode = userInfoHelper.getUserCode();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            return search(index, condition, (searchRequestBuilder, execTime, searchResponse) -> {
                final List<T> list = new ArrayList<>();
                searchResponse.ifPresent(response -> response.getHits().forEach(hit -> {
                    list.add(creator.build(response, hit));
                }));
                return list;
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top