Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for Searcher (0.08 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/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)
  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/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)
  6. 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)
  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/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)
  9. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

            });
            return asHtml(path_AdminKeymatch_AdminKeymatchJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    
        /**
         * Searches key matches based on the form criteria.
         *
         * @param form the search form
         * @return HTML response for the search results
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        }
    
        /**
         * Gets the path to configuration files, falling back to classpath resources if not found.
         * First attempts to find the file in the configuration directory, then searches the classpath.
         *
         * @param names the path components to append to the configuration directory
         * @return the Path object pointing to the configuration file, either in conf directory or classpath
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
Back to Top