Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for getSearchEngineClient (0.1 sec)

  1. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

    public class PingSearchEngineJob {
    
        private static final Logger logger = LogManager.getLogger(PingSearchEngineJob.class);
    
        public String execute() {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

        protected QueryBuilder queryBuilder = null;
    
        public String execute() {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final LabelTypeHelper labelTypeHelper = ComponentUtil.getLabelTypeHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                final String url = dataMap.get(fessConfig.getIndexFieldUrl()).toString();
                if (maxAccessCount != 1L) {
                    final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
                    final IndexingHelper indexingHelper = ComponentUtil.getIndexingHelper();
                    final long count = indexingHelper.deleteDocumentByQuery(searchEngineClient,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K 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/timer/SystemMonitorTarget.java

            buf.append("},");
        }
    
        private void appendFesenStats(final StringBuilder buf) {
            String stats = null;
            try {
                final SearchEngineClient esClient = ComponentUtil.getSearchEngineClient();
                final NodesStatsResponse response = esClient.admin().cluster().prepareNodesStats().all().execute().actionGet(10000L);
                final XContentBuilder builder = XContentFactory.jsonBuilder();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    queryBuilder.must(expiresCheckQuery);
                }
    
                try {
                    final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
                    final String index = fessConfig.getIndexDocumentUpdateIndex();
                    searchEngineClient.admin().indices().prepareRefresh(index).execute().actionGet();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            return osObj;
        }
    
        private EngineObj getEngineObj() {
            final EngineObj engineObj = new EngineObj();
            try {
                final SearchEngineClient esClient = ComponentUtil.getSearchEngineClient();
                final ClusterHealthResponse response =
                        esClient.admin().cluster().prepareHealth().execute().actionGet(fessConfig.getIndexHealthTimeout());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. 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)
Back to top