Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for dist (0.02 sec)

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

         * Concatenates values to a destination list, avoiding duplicates.
         * @param dest The destination list.
         * @param newValues The new values to add.
         * @param <T> The type of the values.
         */
        protected static <T> void concatValues(final List<T> dest, final T... newValues) {
            for (final T value : newValues) {
                if (!dest.contains(value)) {
                    dest.add(value);
                }
            }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            @SuppressWarnings("unchecked")
            List<String> tags = (List<String>) updated.get(FieldNames.TAGS);
            assertTrue(tags.contains("existing"));
        }
    
        @Test
        public void testConcatValues() {
            // Test static concatValues method
            List<String> dest = new java.util.ArrayList<>();
            dest.add("existing");
    
            SuggestItem.concatValues(dest, "new1", "new2", "existing");
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

         * @param dest The destination File.
         */
        private void copy(final SmbFile src, final File dest) {
            if (dest.exists() && !dest.canWrite()) {
                return;
            }
            try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src));
                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            // Test that getters return the same list references
            String word = "mutable test";
            float boost = 1.0f;
            List<String> readings = new ArrayList<>();
            readings.add("reading1");
            List<String> fields = new ArrayList<>();
            fields.add("field1");
            List<String> tags = new ArrayList<>();
            tags.add("tag1");
            List<String> roles = new ArrayList<>();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Represents the response of a suggest delete operation.
     * This class contains information about any errors that occurred during the operation
     * and the time taken to complete the operation.
     */
    public class SuggestDeleteResponse {
        /** List of errors that occurred during the operation. */
        protected final List<Throwable> errors = new ArrayList<>();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImpl.java

        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.service.impl.UrlFilterService#addIncludeUrlFilter(java
         * .lang.String, java.util.List)
         */
        @Override
        public void addIncludeUrlFilter(final String sessionId, final List<String> urlList) {
            for (final String url : urlList) {
                dataHelper.addIncludeUrlPattern(sessionId, url);
            }
        }
    
        /*
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        /**
         * Converts the given object to a list of strings.
         * <p>
         * If the object is null, an empty list is returned.
         * If the object is a string, a list containing that string is returned.
         * If the object is a list, it is cast to a list of strings and returned.
         * </p>
         *
         * @param value the object to be converted to a list of strings
         * @return a list of strings representing the given object
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

         * @param dest The destination File.
         */
        private void copy(final SmbFile src, final File dest) {
            if (dest.exists() && !dest.canWrite()) {
                return;
            }
            try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src));
                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (3)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

        /** Map of regular expressions to component names */
        protected Map<String, String> clientMap = new LinkedHashMap<>();
    
        /** List of registered crawler client factories */
        protected List<CrawlerClientFactory> clientFactoryList = new LinkedList<>();
    
        /**
         * The maximum size of the client factory list.
         */
        protected int maxClientFactorySize = 10000;
    
        /**
         * Registers a CrawlerClientFactory with this creator.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

         *
         * @param <T> The type of objects to insert.
         * @param list The list of objects to insert.
         * @param opType The operation type (CREATE, INDEX, etc.).
         * @throws OpenSearchAccessException if the bulk insertion fails.
         */
        protected <T> void insertAll(final List<T> list, final OpType opType) {
            insertAll(list, opType, false);
        }
    
        /**
    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