Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for IsSource (0.38 sec)

  1. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

            final String code = Arrays.stream(langFields)
                    .map(s -> "ctx._source['" + s + "_'+ctx._source." + langField + "]=ctx._source." + s)
                    .collect(Collectors.joining(";"));
            if (logger.isDebugEnabled()) {
                logger.debug("reindex script: {}", code);
            }
            return "if(ctx._source." + langField + "!=null){" + code + "}";
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

        */
        protected Map<String, Object> toSource(final SearchLogEvent searchLogEvent) {
            final Map<String, Object> source = toLowerHyphen(searchLogEvent.toSource());
            source.put("_id", searchLogEvent.getId());
            // source.put("version_no", searchLogEvent.getVersionNo());
            source.put("event_type", searchLogEvent.getEventType());
            return source;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            final Map<String, Object> source = obj instanceof Map ? (Map<String, Object>) obj : BeanUtil.copyBeanToNewMap(obj);
            final String id = (String) source.remove(fessConfig.getIndexFieldId());
            source.remove(fessConfig.getIndexFieldVersion());
            final Number seqNo = (Number) source.remove(fessConfig.getIndexFieldSeqNo());
            final Number primaryTerm = (Number) source.remove(fessConfig.getIndexFieldPrimaryTerm());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  4. 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)
  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. src/main/java/jcifs/util/Encdec.java

            }
    
            return di - start;
        }
    
        /**
         * Decodes a UTF-8 encoded string from a byte array.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @param slim the limit index in the source array
         * @return the decoded String
         * @throws IOException if a decoding error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    	if job.Replicate != nil {
    		if job.Replicate.Source.Snowball.Disable == nil {
    			job.Replicate.Source.Snowball.Disable = ptr(false)
    		}
    		if job.Replicate.Source.Snowball.Batch == nil {
    			job.Replicate.Source.Snowball.Batch = ptr(100)
    		}
    		if job.Replicate.Source.Snowball.InMemory == nil {
    			job.Replicate.Source.Snowball.InMemory = ptr(true)
    		}
    		if job.Replicate.Source.Snowball.Compress == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/xml/SchemaUtil.java

        }
    
        /**
         * Generates a {@link Schema} for W3C XML Schema from a {@link Source}.
         *
         * @param schema
         *            {@link Source} to load the W3C XML Schema. Must not be {@literal null}.
         * @return {@link Schema}
         */
        public static Schema newW3cXmlSchema(final Source schema) {
            assertArgumentNotNull("schema", schema);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/ByteEncodableTest.java

        }
    
        @Test
        void testEncodeSourceOffsetBeyondLength() {
            // Test with source offset + length exceeding source array bounds
            byte[] data = { 0x01, 0x02 };
            // This constructor call itself should not throw an error, as it's just storing the values.
            // The error should occur when System.arraycopy is called.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        private var closed: Boolean = false
    
        override fun timeout(): Timeout = timeout
    
        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
          check(!closed) { "closed" }
          checkOffsetAndCount(source.size, 0, byteCount)
          socket.sink.write(source, byteCount)
        }
    
        override fun flush() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
Back to top