Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 42 for Searcher (0.06 seconds)

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

            }
        }
    
        /**
         * Sets the main searcher at index 0 of the searchers list.
         * This method is used to configure the primary searcher for rank fusion processing.
         * If searchers list is empty, adds the searcher; otherwise, replaces the first searcher.
         *
         * @param searcher the RankFusionSearcher to set as the main searcher
         */
        public void setSearcher(final RankFusionSearcher searcher) {
    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/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)
  3. 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)
  4. 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)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

                // Should handle exception gracefully and return results from working searcher
                final List<Map<String, Object>> results = processor.search("*", new TestSearchRequestParams(0, 10, 0), OptionalThing.empty());
                assertNotNull(results);
            }
        }
    
        /**
         * Test handling of searcher that throws FessSystemException.
         */
        @Test
    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. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/Constants.java

        public static final Boolean F = false;
    
        /** Constant for score field identifier. */
        public static final String SCORE = "score";
    
        /** Constant for searcher identifier. */
        public static final String SEARCHER = "searcher";
    
        /** Constant representing "on" state. */
        public static final String ON = "on";
    
        // ============================================================
        // Status Constants
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top