Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 46 for searchers (0.08 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java

        private DockerAvailability dockerAvailability;
    
        @Inject
        public DockerSupportService(ExecOperations execOperations) {
            this.execOperations = execOperations;
        }
    
        /**
         * Searches for a functional Docker installation, and returns information about the search.
         *
         * @return the results of the search.
         */
        public DockerAvailability getDockerAvailability() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 14.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         */
        @Size(max = 10)
        public String appendQueryParameter;
    
        /**
         * Enable or disable login requirement for search access.
         * When enabled, users must authenticate before performing searches.
         */
        @Size(max = 10)
        public String loginRequired;
    
        /**
         * Enable or disable result collapsing for similar documents.
         * When enabled, similar search results are grouped together.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
Back to Top