Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for decamelize (0.04 seconds)

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

         * and removing the "Searcher" suffix.
         *
         * @return the searcher name
         */
        public String getName() {
            if (name == null) {
                name = StringUtil.decamelize(this.getClass().getSimpleName().replace("Searcher", StringUtil.EMPTY)).toLowerCase(Locale.ENGLISH);
            }
            return name;
        }
    
        /**
         * Executes a search operation with the specified parameters.
    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)
  2. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

        /**
         * Test getName() converts to lowercase.
         */
        @Test
        public void test_getNameLowercase() {
            final MyCustomSearcher searcher = new MyCustomSearcher();
            // Should be "my_custom" (decamelized and lowercased)
            String name = searcher.getName();
            assertNotNull(name);
            assertTrue(name.equals("my_custom") || name.equals("mycustom"));
        }
    
        /**
    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)
Back to Top