Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for kensaku (0.05 sec)

  1. README.md

    ```java
    SuggestResponse response = suggester.suggest().setQuery("kensaku").execute().getResponse();
    ```
    
    ### Suggest async
    
    ```
    suggester.suggest().setQuery("kensaku").execute()
      .done(
        response -> {}
      ).error(
        t -> {}
      );
    ```
    
    ### Add suggest document
    
    ```java
    String[][] readings = new String[2][];
    readings[0] = new String[] { "kensaku", "fuga" };
    readings[1] = new String[] { "enjin", "fuga" };
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.refresh();
    
            SuggestResponse response = suggester.suggest().setQuery("kensaku").setSuggestDetail(true).execute().getResponse();
            assertEquals(1, response.getNum());
            assertEquals("検索 エンジン", response.getWords().get(0));
    
            response = suggester.suggest().setQuery("kensaku  enj").execute().getResponse();
            assertEquals(1, response.getNum());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterChainTest.java

             * chain.addConverter(new KatakanaToAlphabetConverter()); chain.init();
             *
             * List<String> list = chain.convert("検索"); assertTrue(list.contains("ケンサク"));
             * assertTrue(list.contains("kennsaku"));
             */
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

        public void test_convert() {
            KatakanaToAlphabetConverter katakanaToAlphabetConverter = new KatakanaToAlphabetConverter();
            assertTrue(katakanaToAlphabetConverter.convert("ケンサク", null).contains("kennsaku"));
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1007 bytes
    - Viewed (0)
Back to top