Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 114 for BE (0.01 sec)

  1. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            }
            String longText = sb.toString();
            String id = SuggestUtil.createSuggestTextId(longText);
            assertNotNull(id);
            assertEquals(445, id.length()); // Should be truncated to ID_MAX_LENGTH
        }
    
        @Test
        public void testParseQuery() {
            // Test normal query
            String query = "test query";
            String field = "content";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

            } catch (MessagingException | IOException e) {
                throw new ExtractException(e);
            }
            return buf.toString();
        }
    
        /**
         * Appends attachment content to the buffer if it can be extracted.
         *
         * @param buf the buffer to append content to
         * @param bodyPart the body part containing the attachment
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(10000, urlSet.size());
            assertTrue(urlSet.contains("http://overflow.com/robots.txt"));
            assertFalse(urlSet.contains("http://example0.com/robots.txt")); // First one should be evicted
        }
    
        /**
         * Test activeThreadCountLock getter
         */
        public void test_activeThreadCountLock() {
            Object lock = crawlerContext.getActiveThreadCountLock();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

    /**
     * The {@code MemoryDataHelper} class provides a helper for managing crawler data in memory.
     * It stores URL queues, access results, and URL patterns for inclusion and exclusion.
     * This class is designed to be used in a single-threaded environment or with external synchronization.
     *
     * <p>It uses {@code Map} and {@code Queue} data structures to hold the data. The class provides
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        @Resource
        protected MimeTypeHelper mimeTypeHelper;
    
        /** The HTTP client instance */
        protected volatile CloseableHttpClient httpClient;
    
        /** List of request headers to be sent with each request */
        private final List<Header> requestHeaderList = new ArrayList<>();
    
        /** Map of HTTP client properties */
        private final Map<String, Object> httpClientPropertyMap = new HashMap<>();
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

        protected boolean trimSpaceEnabled = true;
    
        /**
         * The charset name for the output.
         */
        protected String charsetName = Constants.UTF_8;
    
        /**
         * Class type to be returned by the {@link #getData(AccessResultData)} method. Defaults to null, which returns XML content
         * as a String.
         */
        protected Class<?> dataClass = null;
    
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            // Test with boost less than 1
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 0.5f, null, null, null, SuggestItem.Kind.QUERY);
            assertEquals(1.0f, item.getUserBoost(), 0.001f); // Should be set to 1
    
            // Test with boost greater than 1
            SuggestItem item2 = new SuggestItem(text, readings, null, 0L, 0L, 2.5f, null, null, null, SuggestItem.Kind.QUERY);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

         * @param queryLogReader The query log reader.
         * @param docPerReq The number of documents to process per request.
         * @param requestInterval The interval between requests.
         * @return A Promise that will be resolved with the SuggestIndexResponse or rejected with an error.
         */
        public Deferred<SuggestIndexResponse>.Promise indexFromQueryLog(final QueryLogReader queryLogReader, final int docPerReq,
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                if (map != null) {
                    synonymMap = map;
                    fst = synonymMap.fst;
                    if (fst == null) {
                        throw new IllegalArgumentException("fst must be non-null");
                    }
                    fstReader = fst.getBytesReader();
                    scratchArc = new FST.Arc<>();
                    clearAttributes();
                }
            }
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            return fesenClient;
        }
    
        /**
         * Creates the OpenSearch index mapping for the specified mapping name.
         * If the index doesn't exist, it will be created with the configured number of shards and replicas.
         * If the mapping doesn't exist, it will be created from the JSON file in the mapping directory.
         *
         * @param mappingName The name of the mapping to create.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
Back to top