Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Analyzer (0.06 sec)

  1. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            // Test that multiple analyzer instances work independently
            SuggestAnalyzer analyzer1 = new TestSuggestAnalyzer();
            SuggestAnalyzer analyzer2 = new TestSuggestAnalyzer();
    
            String text = "test text";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens1 = analyzer1.analyze(text, field, lang);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

                    .put("analysis.analyzer.test_reading_analyzer_ja.type", "custom")
                    .put("analysis.analyzer.test_reading_analyzer_ja.tokenizer", "keyword")
                    .put("analysis.analyzer.test_reading_term_analyzer_ja.type", "custom")
                    .put("analysis.analyzer.test_reading_term_analyzer_ja.tokenizer", "keyword")
                    .build();
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. README.md

    import org.codelibs.fess.suggest.normalizer.ICUNormalizer;
    
    // Configure custom settings
    SuggestSettings settings = SuggestSettings.builder()
        .analyzer(analyzers -> {
            // Configure custom analyzers
            analyzers.addAnalyzer("custom", customAnalyzerSettings);
        })
        .build();
    
    Suggester customSuggester = Suggester.builder()
        .settings(settings)
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        /**
         * Creates a new instance of DefaultContentsAnalyzer using the provided client and suggest settings.
         *
         * @param client   the OpenSearch client to be used for the analyzer
         * @param settings the suggest settings containing the analyzer configuration
         * @return a new instance of AnalyzerSettings.DefaultContentsAnalyzer
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertNotNull(normalizer);
        }
    
        @Test
        public void testCreateDefaultAnalyzer() {
            // Test creating default analyzer
            AnalyzerSettings.DefaultContentsAnalyzer analyzer = SuggestUtil.createDefaultAnalyzer(client, settings);
            assertNotNull(analyzer);
        }
    
        @Test
        public void testGetAsList() {
            // Test with null
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            // Verify API response field set is initialized
            assertNotNull(queryFieldConfig.apiResponseFieldSet);
            assertTrue(queryFieldConfig.apiResponseFieldSet.size() > 0);
    
            // Verify not analyzed field set is initialized
            assertNotNull(queryFieldConfig.notAnalyzedFieldSet);
            assertTrue(queryFieldConfig.notAnalyzedFieldSet.size() > 0);
        }
    
        public void test_init_withExistingFields() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  7. .github/workflows/codeql-analysis.yml

      CodeQL-Build:
        permissions:
          actions: read  # for github/codeql-action/init to get workflow details
          contents: read  # for actions/checkout to fetch code
          security-events: write  # for github/codeql-action/analyze to upload SARIF results
        runs-on: ubuntu-latest
    
        strategy:
          fail-fast: false
          matrix:
            # Override automatic language detection by changing the below list
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Aug 21 23:08:02 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. pom.xml

    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>${junit.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.codelibs</groupId>
    			<artifactId>analyzers</artifactId>
    			<version>${lucene.version}.0</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.lucene</groupId>
    			<artifactId>lucene-analysis-kuromoji</artifactId>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Sep 06 03:14:57 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/compression/CompressionService.java

        /**
         * Estimates the compression ratio for the given data and algorithm.
         * This can be used to decide whether compression is worthwhile.
         *
         * @param data the data to analyze
         * @param algorithm the compression algorithm
         * @return estimated compression ratio (0.0 to 1.0, where 0.5 means 50% size reduction)
         */
        double estimateCompressionRatio(byte[] data, int algorithm);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                    });
                }
    
                executor.shutdown();
                assertTrue(executor.awaitTermination(30, TimeUnit.SECONDS), "All threads should complete within timeout");
    
                // Analyze timing consistency across threads
                if (!timings.isEmpty()) {
                    double avgTime = timings.stream().mapToLong(Long::longValue).average().orElse(0.0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top