Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for IsSource (0.03 sec)

  1. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            int count = 0;
            Set<String> valueSet = Collections.synchronizedSet(new HashSet<>());
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                assertTrue(source.get("field1").toString().startsWith("test"));
                valueSet.add(source.get("field1").toString());
                count++;
            }
            assertEquals(num, count);
            assertEquals(num, valueSet.size());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. LICENSE

          exercising permissions granted by this License.
    
          "Source" form shall mean the preferred form for making modifications,
          including but not limited to software source code, documentation
          source, and configuration files.
    
          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Mon Jan 11 04:26:17 UTC 2021
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

            }
    
            final Map<String, Object> source = new HashMap<>();
            source.put(FieldNames.ARRAY_KEY, key);
            source.put(FieldNames.ARRAY_VALUE, value);
            source.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now()));
    
            addToArrayIndex(arraySettingsIndexName, settingsId, createId(key, value), source);
        }
    
        /**
         * Delete values.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    final String source;
                    if (numberOfReplicas > 0) {
                        source = "{\"settings\":{\"index\":{\"number_of_shards\":" + numberOfShards
                                + ",\"number_of_replicas\":0,\"auto_expand_replicas\":\"0-" + numberOfReplicas + "\"}}}";
                    } else {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            Map<String, Object> source = item.getSource();
    
            assertNotNull(source);
            assertEquals("source test", source.get(FieldNames.TEXT));
            assertEquals(50L, source.get(FieldNames.QUERY_FREQ));
            assertEquals(25L, source.get(FieldNames.DOC_FREQ));
            assertEquals(2.0f, source.get(FieldNames.USER_BOOST));
            assertEquals(150.0f, source.get(FieldNames.SCORE)); // (50 + 25) * 2.0 = 150
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

        }
    
        /**
         * Adds an encoding mapping from source to target encoding.
         *
         * @param source the source encoding name
         * @param target the target encoding name
         * @throws IllegalArgumentException if source or target is blank
         */
        public void addEncodingMapping(final String source, final String target) {
            if (StringUtil.isBlank(source) || StringUtil.isBlank(target)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

            }
    
            final Map<String, Object> source = new HashMap<>();
            source.put(FieldNames.ARRAY_KEY, ELEVATE_WORD_SETTINGD_KEY);
            source.put(FieldNames.ARRAY_VALUE, elevateWord.getElevateWord());
            source.put(ELEVATE_WORD_BOOST, elevateWord.getBoost());
            source.put(ELEVATE_WORD_READING, elevateWord.getReadings());
            source.put(ELEVATE_WORD_FIELDS, elevateWord.getFields());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                    for (final SearchHit hit : hits) {
                        final Map<String, Object> source = hit.getSourceAsMap();
                        if (limitOfDocumentSize > 0) {
                            long size = 0;
                            for (final String field : supportedFields) {
                                final Object value = source.get(field);
                                if (value != null) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            return map;
        }
    
        /**
         * Parses a source map and returns a SuggestItem instance.
         * @param source The source map.
         * @return A SuggestItem instance.
         */
        public static SuggestItem parseSource(final Map<String, Object> source) {
            final String text = source.get(FieldNames.TEXT).toString();
            final List<String[]> readings = new ArrayList<>();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

         */
        public OpenSearchAccessResultData() {
        }
    
        /**
         * Creates a new instance of OpenSearchAccessResultData from a source map.
         * This constructor is used when loading data from OpenSearch.
         *
         * @param src The source map containing the access result data fields.
         * @throws OpenSearchAccessException if the data cannot be decoded.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top