Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 72 for searchers (0.06 seconds)

  1. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            if (searchers.isEmpty()) {
                searchers.add(searcher);
            } else {
                searchers.set(0, searcher);
            }
        }
    
        /**
         * Registers a new searcher with the rank fusion processor.
         * Adds the searcher to the searchers list and initializes the executor service
         * if it hasn't been created yet. The executor service is created with a thread pool
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 25 02:13:14 GMT 2025
    - 28K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/rank/fusion/RankFusionSearcher.java

         * This constructor initializes the searcher with default values.
         * The searcher name will be lazily initialized when first accessed.
         */
        public RankFusionSearcher() {
            // Default constructor - name will be initialized lazily
        }
    
        /**
         * Returns the name of this searcher.
         * The name is derived from the class name by converting it to lowercase
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

                            }
                        });
                    }
    
                    startLatch.countDown();
                    assertTrue("Concurrent searches timed out", endLatch.await(10, TimeUnit.SECONDS));
    
                    // Verify all searches completed and returned results
                    assertEquals(numSearchThreads, allResults.size());
                    for (List<Map<String, Object>> results : allResults) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

        /**
         * Test registering same searcher multiple times.
         */
        @Test
        public void test_registerSameSearcherMultipleTimes() throws Exception {
            try (RankFusionProcessor processor = new RankFusionProcessor()) {
                processor.setSearcher(new TestSearcher(100));
                final TestSearcher searcher = new TestSearcher(50);
                processor.register(searcher);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            }
    
            final String[] searchers = DocumentUtil.getValue(docMap, Constants.SEARCHER, String[].class);
            if (searchers != null) {
                docMap.put(Constants.SEARCHER, ArrayUtil.add(searchers, getName()));
            } else {
                docMap.put(Constants.SEARCHER, new String[] { getName() });
            }
    
            return docMap;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 09:24:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

            }
        }
    
        /**
         * Test that all searchers failing still returns empty result gracefully.
         */
        @Test
        public void test_allSearchersFail() throws Exception {
            try (RankFusionProcessor processor = new RankFusionProcessor()) {
                processor.setSearcher(new ExceptionThrowingSearcher(new RuntimeException("Main searcher failed")));
                processor.init();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  7. internal/config/identity/ldap/ldap.go

    	}
    
    	// Check that DN exists in the LDAP directory.
    	searchRes, err := xldap.LookupDN(conn, dn, attrs)
    	if err != nil {
    		return nil, false, fmt.Errorf("Error looking up DN %s: %w", dn, err)
    	}
    	if searchRes == nil {
    		return nil, false, nil
    	}
    
    	// This will not return an error as the argument is validated to be a DN.
    	pdn, _ := ldap.ParseDN(searchRes.NormDN)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 01:04:53 GMT 2024
    - 12.4K bytes
    - Click Count (1)
  8. android/guava/src/com/google/common/collect/SortedLists.java

       *
       * <p>This method runs in log(n) time on random-access lists, which offer near-constant-time
       * access to each list element.
       *
       * @param list the list to be searched.
       * @param key the value to be searched for.
       * @param comparator the comparator by which the list is ordered.
       * @param presentBehavior the specification for what to do if at least one element of the list
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/SortedLists.java

       *
       * <p>This method runs in log(n) time on random-access lists, which offer near-constant-time
       * access to each list element.
       *
       * @param list the list to be searched.
       * @param key the value to be searched for.
       * @param comparator the comparator by which the list is ordered.
       * @param presentBehavior the specification for what to do if at least one element of the list
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

            for (final ClassLoader loader : iterable(cl)) {
                if (loader == other) {
                    return true;
                }
            }
            return false;
        }
    
        /**
         * Searches for all resources with the specified name from the context class loader.
         *
         * @param name
         *            The resource name. Must not be {@literal null} or an empty string.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.6K bytes
    - Click Count (0)
Back to Top