Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getSearchEngineClient (0.18 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/rank/fusion/DefaultSearcher.java

                final OptionalThing<FessUserBean> userBean) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return ComponentUtil.getSearchEngineClient().search(fessConfig.getIndexDocumentSearchIndex(),
                    createSearchCondition(query, params, userBean), (searchRequestBuilder, execTime, searchResponse) -> {
                        searchResponse.ifPresent(r -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final Map<String, Object> entity = new HashMap<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ComponentUtil.java

        }
    
        public static DataService<EsAccessResult> getDataService() {
            return getComponent(DATA_SERVICE);
        }
    
        public static SearchEngineClient getSearchEngineClient() {
            return getComponent(SEARCH_ENGINE_CLIENT);
        }
    
        public static FessConfig getFessConfig() {
            if (fessConfig != null) {
                return fessConfig;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. 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)
Back to top