Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SuggesterTest (0.08 sec)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

    import org.opensearch.action.index.IndexAction;
    import org.opensearch.action.index.IndexRequestBuilder;
    import org.opensearch.action.support.WriteRequest;
    import org.opensearch.client.Client;
    
    public class SuggesterTest {
        static Suggester suggester;
    
        static OpenSearchRunner runner;
    
        @BeforeClass
        public static void beforeClass() throws Exception {
            runner = new OpenSearchRunner();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java

                    .pluginTypes("org.codelibs.opensearch.extension.ExtensionPlugin"));
            runner.ensureYellow();
    
            suggester = Suggester.builder().build(runner.client(), "SuggesterTest");
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Test
        public void test_normalize() throws Exception {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            } catch (IndexNotFoundException ignore) {
    
            }
            runner.refresh();
            suggester = Suggester.builder().build(runner.client(), "SuggesterTest");
            suggester.createIndexIfNothing();
        }
    
        @Test
        public void test_Read() throws Exception {
            String indexName = "test-index";
            Client client = runner.client();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top