Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 218 for Stores (0.09 seconds)

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

    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.helper.SearchLogHelper;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Job for aggregating and storing search logs.
     * This job processes search logs and stores them in the search log repository.
     */
    public class AggregateLogJob {
    
        private static final Logger logger = LogManager.getLogger(AggregateLogJob.class);
    
        /**
         * Default constructor.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

     * This factory maintains a registry of data store implementations and provides methods
     * to register, retrieve, and discover available data stores.
     *
     * <p>Data stores are registered by name and class name, allowing flexible lookup.
     * The factory also supports dynamic discovery of data store plugins by scanning
     * JAR files for data store configurations.</p>
     *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

        public OptionalEntity<FailureUrl> getFailureUrl(final String id) {
            return failureUrlBhv.selectByPK(id);
        }
    
        /**
         * Stores or updates a failure URL entity in the data store.
         *
         * @param failureUrl the FailureUrl entity to store or update
         */
        public void store(final FailureUrl failureUrl) {
    
            failureUrlBhv.insertOrUpdate(failureUrl, op -> {
                op.setRefreshPolicy(Constants.TRUE);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        /**
         * Gets the suggester instance.
         *
         * @return The suggester instance.
         */
        public Suggester suggester() {
            return suggester;
        }
    
        /**
         * Stores search logs in the suggest index.
         */
        public void storeSearchLog() {
            final SearchLogBhv searchLogBhv = ComponentUtil.getComponent(SearchLogBhv.class);
    
            searchLogBhv.selectBulk(cb -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                return;
            }
            clickLogQueue.add(clickLog);
        }
    
        /**
         * Stores search logs from the queue.
         */
        public void storeSearchLog() {
            storeSearchLogFromQueue();
            storeClickLogFromQueue();
        }
    
        /**
         * Stores click logs from the queue.
         */
        protected void storeClickLogFromQueue() {
            if (!clickLogQueue.isEmpty()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                return sessionId.substring(0, idx);
            }
            return sessionId;
        }
    
        /**
         * Stores crawling information and parameters for the specified session.
         * Creates a new crawling info record if none exists or if create flag is true.
         * Also stores any accumulated information parameters and clears the info map.
         *
         * @param sessionId the session ID for the crawling information
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java

     * This interface provides methods for storing documents, tracking processing metrics,
     * and committing changes to the search index.
     */
    public interface IndexUpdateCallback {
    
        /**
         * Stores a document in the search index with the specified parameters and data.
         *
         * @param paramMap the data store parameters containing configuration and metadata
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/RoleService.java

         */
        public OptionalEntity<Role> getRole(final String id) {
            return roleBhv.selectByPK(id);
        }
    
        /**
         * Stores a role.
         * @param role The role to store.
         */
        public void store(final Role role) {
            ComponentUtil.getLdapManager().insert(role);
    
            roleBhv.insertOrUpdate(role, op -> {
                op.setRefreshPolicy(Constants.TRUE);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                ingestFactory = ComponentUtil.getIngestFactory();
            }
        }
    
        /**
         * Stores a document in the index after processing and validation.
         * Handles document transformation, field addition, and batched indexing.
         *
         * @param paramMap the data store parameters
         * @param dataMap the document data to store
         * @throws DataStoreException if required fields are missing or other errors occur
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

            return relatedContentBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a related content entity.
         * After storing, updates the related content helper to refresh the cache.
         *
         * @param relatedContent the RelatedContent entity to store
         */
        public void store(final RelatedContent relatedContent) {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top