Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 41 for searchers (0.04 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/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/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)
  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. 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)
  8. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

            final TestSearcher searcher = new TestSearcher();
            assertEquals("test", searcher.getName());
        }
    
        /**
         * Test getName() removes "Searcher" suffix.
         */
        @Test
        public void test_getNameRemovesSearcherSuffix() {
            final CustomSearcher searcher = new CustomSearcher();
            assertEquals("custom", searcher.getName());
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

            stream(highlightedFields).of(stream);
        }
    
        /**
         * Gets the fields that can be searched against.
         *
         * @return array of field names that can be searched
         */
        public String[] getSearchFields() {
            return searchFields;
        }
    
        /**
         * Sets the fields that can be searched against.
         * Also updates the searchFieldSet for O(1) lookup performance.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  10. src/test/resources/osdd/osdd.xml

      <Tags>Full Text Search</Tags>
      <Contact>******@****.***</Contact>
      <SearchForm>http://localhost:8080/fess/</SearchForm>
      <Url type="text/html" template="http://localhost:8080/fess/search?q={searchTerms}"/>
      <InputEncoding>UTF-8</InputEncoding>
      <OutputEncoding>UTF-8</OutputEncoding>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Feb 08 05:17:08 GMT 2024
    - 535 bytes
    - Click Count (0)
Back to Top