Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for SearchEngineClient (0.1 sec)

  1. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

    import com.google.common.io.BaseEncoding;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    
    public class SearchEngineClient implements Client {
    
        private static final Logger logger = LogManager.getLogger(SearchEngineClient.class);
    
        private static final String DOC_INDEX = "fess";
    
        private static final String LOG_INDEX_PREFIX = "fess_log";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

        }
    
        protected long deleteDocumentByQuery(final SearchEngineClient searchEngineClient, final String index, final QueryBuilder queryBuilder) {
            return searchEngineClient.deleteByQuery(index, queryBuilder);
        }
    
        public Map<String, Object> getDocument(final SearchEngineClient searchEngineClient, final String id, final String[] fields) {
    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/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                @Override
                protected long getDocumentSizeByQuery(final SearchEngineClient searchEngineClient, final QueryBuilder queryBuilder,
                        final FessConfig fessConfig) {
                    return documentSizeByQuery;
                }
    
                @Override
                protected int refreshIndex(final SearchEngineClient searchEngineClient, final String index) {
                    return 200;
                }
            };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            if (searchEngineClient.createIndex(docIndex, toIndex, numberOfShards, autoExpandReplicas, resetDictionaries)) {
                searchEngineClient.admin().cluster().prepareHealth(toIndex).setWaitForYellowStatus().execute(ActionListener.wrap(response -> {
                    searchEngineClient.addMapping(docIndex, "doc", toIndex);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            protected final List<Path> deletedFileList = new ArrayList<>();
    
            protected final Path basePath;
    
            protected final String imageExtention;
    
            protected final SearchEngineClient searchEngineClient;
    
            protected final FessConfig fessConfig;
    
            FilePurgeVisitor(final Path basePath, final String imageExtention, final long expiry) {
                this.basePath = basePath;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

        // Attribute
        // =========
        @Resource
        protected SearchHelper searchHelper;
    
        @Resource
        protected SearchEngineClient searchEngineClient;
    
        // ===================================================================================
        //                                                                      Search Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

        // ===================================================================================
        // Attribute
        // =========
    
        @Resource
        protected SearchEngineClient searchEngineClient;
    
        @Resource
        protected QueryHelper queryHelper;
    
        @Resource
        protected SearchHelper searchHelper;
    
        @Resource
        protected HttpServletRequest request;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

        // ===================================================================================
        // Attribute
        // =========
        @Resource
        protected SearchEngineClient searchEngineClient;
    
        // ===================================================================================
        // Search Execute
        //
    
        // POST /api/admin/documents/bulk
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/score/ScoreBooster.java

    import java.util.Map;
    import java.util.function.Function;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.es.client.SearchEngineClient;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.action.bulk.BulkRequestBuilder;
    import org.opensearch.action.bulk.BulkResponse;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top