Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getSearchEngineClient (0.12 sec)

  1. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        protected Function<Map<String, Object>, String[]> idFinder = params -> {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            final String index = fessConfig.getIndexDocumentUpdateIndex();
            final Object url = params.get("url");
            if (url == null) {
                return StringUtil.EMPTY_STRINGS;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                return totalHits.value;
            }
            return 0;
        }
    
        public long deleteBySessionId(final String sessionId) {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String index = fessConfig.getIndexDocumentUpdateIndex();
            return deleteBySessionId(searchEngineClient, index, sessionId);
    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/main/java/org/codelibs/fess/helper/SearchHelper.java

            final String query = ComponentUtil.getQueryStringBuilder().params(params).sortField(params.getSort()).build();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return ComponentUtil.getSearchEngineClient().<Map<String, Object>> scrollSearch(fessConfig.getIndexDocumentSearchIndex(),
                    searchRequestBuilder -> {
                        final QueryHelper queryHelper = ComponentUtil.getQueryHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            contentFieldList = Arrays.asList(stream(fessConfig.getSuggestFieldContents()).get(stream -> stream.toArray(n -> new String[n])));
    
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            searchEngineClient.admin().cluster().prepareHealth().setWaitForYellowStatus().execute()
                    .actionGet(fessConfig.getIndexHealthTimeout());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            }
            return "Unknown";
        }
    
        public void setupAdminHtmlData(final TypicalAction action, final ActionRuntime runtime) {
            runtime.registerData("developmentMode", ComponentUtil.getSearchEngineClient().isEmbedded());
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String installationLink = fessConfig.getOnlineHelpInstallation();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                this.expiry = expiry;
                fessConfig = ComponentUtil.getFessConfig();
                maxPurgeSize = fessConfig.getPageThumbnailPurgeMaxFetchSizeAsInteger();
                searchEngineClient = ComponentUtil.getSearchEngineClient();
            }
    
            protected void deleteFiles() {
                final Map<String, Path> deleteFileMap = new HashMap<>();
                for (final Path path : deletedFileList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            if (!acceptHttpMethod(request, GET)) {
                return;
            }
    
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            try {
                final PingResponse pingResponse = searchEngineClient.ping();
                writeJsonResponse(pingResponse.getStatus() == 0 ? HttpServletResponse.SC_OK : HttpServletResponse.SC_SERVICE_UNAVAILABLE,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

            final String[] crawlerIndices = { ".crawler.data", //
                    ".crawler.filter", //
                    ".crawler.queue", //
            };
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            for (final String index : configIndices) {
                final String oldIndex = "." + index;
                if (client.existsIndex(oldIndex) && client.existsIndex(index)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top