Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for queries (0.02 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/Response.java

    /**
     * The Response interface serves as a marker interface for all response types
     * in the suggestion system. Implementations of this interface are used to
     * encapsulate the results of various operations and queries within the system.
     *
     * <p>Classes implementing this interface should provide specific details and
     * data relevant to the type of response they represent.</p>
     */
    public interface Response {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                    final String[] queries = q.replace(" ", " ").replaceAll(" +", " ").trim().split(" ");
                    for (int i = 0; i < queries.length; i++) {
                        final String fieldName = FieldNames.READING_PREFIX + i;
    
                        final String query;
                        if (normalizer == null) {
                            query = queries[i];
                        } else {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. README.md

        client, 
        suggester.settings(), 
        "articles-index", 
        "article"
    );
    suggester.indexer().indexFromDocument(reader, 4, 50);
    ```
    
    ### Search Analytics
    
    ```java
    // Track user queries for analytics
    QueryLog userQuery = new QueryLog("machine learning tutorials", "user456");
    suggester.indexer().indexFromQueryLog(userQuery);
    
    // Get trending searches
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

     * as well as the alt and title attributes.
     * </p>
     * <p>
     * The class uses {@link DOMParser} to parse HTML documents and {@link XPathAPI} to execute XPath queries.
     * It also provides methods to add custom features and properties to the {@link DOMParser}.
     * </p>
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                final SuggestIndexResponse response = index(array);
                final long indexTime = System.currentTimeMillis();
    
                if (logger.isInfoEnabled()) {
                    printProcessingInfo("queries", queryLogs.length, array, parseTime - start, indexTime - parseTime);
                }
                return new SuggestIndexResponse(array.length, queryLogs.length, response.getErrors(), System.currentTimeMillis() - start);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         *
         * This method replaces all occurrences of '*' with '\*' and
         * all occurrences of '?' with '\?' to ensure that these characters
         * are treated as literals rather than wildcard characters in queries.
         *
         * @param query the query string to escape
         * @return the escaped query string
         */
        public static String escapeWildcardQuery(final String query) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlQueueService.java

         * @param sessionId The session ID.
         */
        void delete(String sessionId);
    
        /**
         * Deletes all URL queues.
         */
        void deleteAll();
    
        /**
         * Offers all URL queues.
         *
         * @param sessionId The session ID.
         * @param newUrlQueueList The list of new URL queues.
         */
        void offerAll(String sessionId, List<QUEUE> newUrlQueueList);
    
        /**
         * Polls a URL queue.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

     *
     * <p>
     * The class is responsible for:
     * </p>
     * <ul>
     *   <li>Updating session IDs for URL queues.</li>
     *   <li>Adding new URLs to the queue.</li>
     *   <li>Inserting existing {@link UrlQueueImpl} objects into the queue.</li>
     *   <li>Deleting URL queues associated with a session.</li>
     *   <li>Deleting all URL queues.</li>
     *   <li>Offering a list of URLs to the queue, ensuring duplicates are not added.</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

     *
     * <p>The class also provides methods to manage URL patterns for inclusion and exclusion, which
     * are stored as {@code Pattern} objects.
     */
    public class MemoryDataHelper {
        /** Map of session IDs to URL queues for managing crawling queues. */
        protected volatile Map<String, Queue<UrlQueueImpl<Long>>> urlQueueMap = new HashMap<>();
    
        /** Map of session IDs to access result maps for storing crawling results. */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        /**
         * Data service for checking access results.
         */
        @Resource
        protected OpenSearchDataService dataService;
    
        /**
         * Cache for session queues.
         */
        protected Map<String, QueueHolder> sessionCache = new ConcurrentHashMap<>();
    
        /**
         * The number of URLs to fetch when polling.
         */
        protected int pollingFetchSize = 1000;
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
Back to top