Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for SearchEngineClient (0.24 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

    public class IndexUpdater extends Thread {
        private static final Logger logger = LogManager.getLogger(IndexUpdater.class);
    
        protected List<String> sessionIdList;
    
        @Resource
        protected SearchEngineClient searchEngineClient;
    
        @Resource
        protected DataService<EsAccessResult> dataService;
    
        @Resource
        protected UrlQueueService<EsUrlQueue> urlQueueService;
    
        @Resource
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

        @Resource
        protected DataConfigBhv dataConfigBhv;
    
        @Resource
        protected ElevateWordBhv elevateWordBhv;
    
        @Resource
        protected SearchEngineClient searchEngineClient;
    
        @Resource
        protected ScheduledJobService scheduledJobService;
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

        private static AtomicBoolean running = new AtomicBoolean(false);
    
        private static Queue<String> errors = new ConcurrentLinkedQueue<>();
    
        @Resource
        protected SearchEngineClient searchEngineClient;
    
        @Resource
        protected WebFsIndexHelper webFsIndexHelper;
    
        @Resource
        protected DataIndexHelper dataIndexHelper;
    
        @Resource
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K 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