Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 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. test-site/app/Global.java

                settingsBuilder.put("plugin.types", "org.codelibs.elasticsearch.kuromoji.ipadic.neologd.KuromojiNeologdPlugin,org.codelibs.elasticsearch.FessSuggestPlugin");
            }).build(newConfigs().clusterName("SuggesterTest").numOfNode(1));
            runner.ensureYellow();
    
            ComponentsUtil.runner = runner;
        }
    
        private void createComponents() {
            try {
                ComponentsUtil.contentIndexName = "test-content";
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Feb 23 14:02:03 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  3. 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)
  4. 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