Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for readLines (0.11 sec)

  1. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[] text = { "text" };
            String[][] readings = { { "reading" } };
    
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.DOCUMENT);
    
            assertNotNull(item);
            assertEquals("text", item.getText());
            assertArrayEquals(readings, item.getReadings());
            assertNotNull(item.getFields());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. cmd/globals.go

    	globalLifecycleSys       *LifecycleSys
    	globalBucketSSEConfigSys *BucketSSEConfigSys
    	globalBucketTargetSys    *BucketTargetSys
    	// globalAPIConfig controls S3 API requests throttling,
    	// healthCheck readiness deadlines and cors settings.
    	globalAPIConfig = apiConfig{listQuorum: "strict", rootAccess: true}
    
    	globalStorageClass storageclass.Config
    
    	globalAuthNPlugin *idplugin.AuthNPlugin
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            assertEquals(1, count);
        }
    
        private SuggestItem[] getItemSet1() {
            SuggestItem[] queryItems = new SuggestItem[3];
    
            String[][] readings = new String[2][];
            readings[0] = new String[] { "kensaku", "fuga" };
            readings[1] = new String[] { "enjin", "fuga" };
            String[] tags = new String[] { "tag1", "tag2" };
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                    final List<String> l = readingConverter.convert(word, fields != null && fields.length > 0 ? fields[0] : "", langs);
                    if (readings != null && readings.length > i && readings[i].length > 0) {
                        for (final String reading : readings[i]) {
                            if (!l.contains(reading)) {
                                l.add(reading);
                            }
                        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            // Test toSuggestItem with empty readings
            String word = "no readings";
            float boost = 1.0f;
            List<String> readings = Collections.emptyList();
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
            List<String> roles = Arrays.asList("role1");
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

         *
         * @param elevateWord the elevate word
         * @param boost the boost value
         * @param readings the list of readings
         * @param fields the list of fields
         * @param tags the list of tags
         * @param roles the list of roles
         */
        public ElevateWord(final String elevateWord, final float boost, final List<String> readings, final List<String> fields,
                final List<String> tags, final List<String> roles) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

    import java.util.List;
    
    /**
     * Interface for converting text into its reading form.
     */
    public interface ReadingConverter {
    
        /**
         * Returns the maximum number of readings.
         *
         * @return the maximum number of readings, default is 10.
         */
        default int getMaxReadingNum() {
            return 10;
        }
    
        /**
         * Initializes the converter.
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. README.md

    ```
    
    #### 2. Add Suggestion Documents
    
    ```java
    import org.codelibs.fess.suggest.entity.SuggestItem;
    
    // Create suggestion item with text, readings, and metadata
    String[][] readings = new String[2][];
    readings[0] = new String[]{"kensaku", "engine"};
    readings[1] = new String[]{"search", "injin"};
    
    String[] tags = new String[]{"technology", "search"};
    String[] roles = new String[]{"admin", "user"};
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  9. cmd/healthcheck-router.go

    	healthCheckClusterReadPath = "/cluster/read"
    	healthCheckPathPrefix      = minioReservedBucketPath + healthCheckPath
    )
    
    // registerHealthCheckRouter - add handler functions for liveness and readiness routes.
    func registerHealthCheckRouter(router *mux.Router) {
    	// Healthcheck router
    	healthRouter := router.PathPrefix(healthCheckPathPrefix).Subrouter()
    
    	// Cluster check handler to verify cluster is active
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 23 11:12:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                final List<String> roles = (List<String>) sourceArray[i].get(ELEVATE_WORD_ROLES);
                if (elevateWord != null && boost != null && readings != null && fields != null) {
                    elevateWords[i] =
                            new ElevateWord(elevateWord.toString(), Float.parseFloat(boost.toString()), readings, fields, tags, roles);
                }
            }
            return elevateWords;
        }
    
        /**
         * Add an elevate word.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top