Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SuggesterTest (0.04 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.transport.client.Client;
    
    public class SuggesterTest {
        static Suggester suggester;
    
        static OpenSearchRunner runner;
    
        @BeforeClass
        public static void beforeClass() throws Exception {
            runner = new OpenSearchRunner();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
  2. CLAUDE.md

    ---
    
    ## Development Workflow
    
    ### Build Commands
    
    ```bash
    mvn compile                              # Compile
    mvn test                                 # Run all tests
    mvn test -Dtest=SuggesterTest           # Run specific test
    mvn package                              # Package JAR
    mvn formatter:format license:format     # Format code and apply licenses
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java

                            .numOfNode(1)
                            .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: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Nov 01 13:29:47 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

        @Before
        public void before() throws Exception {
            runner.admin().indices().prepareDelete("_all").execute().actionGet();
            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: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 13:04:17 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

        }
    
        /**
         * Integration test for complete index lifecycle with refactored methods.
         * Tests that createNextIndex and switchIndex work together correctly.
         * Note: Full lifecycle testing is covered by SuggesterTest.test_switchIndex()
         */
        @Test
        public void testIndexLifecycle_withRefactoredMethods() throws Exception {
            final Suggester suggester = Suggester.builder().build(client, "lifecycle-test");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top