Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for SuggesterTest (0.09 seconds)

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

                settingsBuilder.put("discovery.type", "single-node");
            }).build(newConfigs().clusterName("SuggesterTest").numOfNode(1).pluginTypes("org.codelibs.opensearch.extension.ExtensionPlugin"));
            runner.ensureYellow();
            suggester = Suggester.builder().build(runner.client(), "SuggesterTest");
            suggester.createIndexIfNothing();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 37.1K bytes
    - Click Count (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
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:53 GMT 2026
    - 8.1K bytes
    - Click Count (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 {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Nov 01 13:29:47 GMT 2025
    - 2.2K bytes
    - Click Count (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();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 13:04:17 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. README.md

    ```
    
    ### Testing
    
    The project uses JUnit 4 with embedded OpenSearch for integration testing:
    
    ```bash
    # Run all tests
    mvn test
    
    # Run specific test class
    mvn test -Dtest=SuggesterTest
    
    # Run with verbose output
    mvn surefire:test -Dmaven.surefire.debug=true
    ```
    
    ### Running Tests with Coverage
    
    ```bash
    mvn clean jacoco:prepare-agent test jacoco:report
    ```
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (1)
  6. 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");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top