Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 361 for IsSource (0.62 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/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            assertEquals("aaa;ctx._source.title_ja=ctx._source.title;ctx._source.content_ja=ctx._source.content",
                    languageHelper.createScript(doc, "aaa").getIdOrCode());
        }
    
        public void test_getReindexScriptSource() {
            assertEquals(
                    "if(ctx._source.lang!=null){ctx._source['title_'+ctx._source.lang]=ctx._source.title;ctx._source['content_'+ctx._source.lang]=ctx._source.content}",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          val source = response.body.source()
          assertThat(response.header("h1")).isEqualTo("v1")
          assertThat(source.readUtf8()).isEqualTo("Hello")
          assertThat(response.trailers()).isEqualTo(headersOf("t1", "v2"))
        }
    
        val call2 = client.newCall(Request(server.url("/")))
        call2.execute().use { response ->
          val source = response.body.source()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/io/CharSource.java

          for (CharSource source : sources) {
            if (!source.isEmpty()) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public Optional<Long> lengthIfKnown() {
          long result = 0L;
          for (CharSource source : sources) {
            Optional<Long> lengthIfKnown = source.lengthIfKnown();
            if (!lengthIfKnown.isPresent()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharSource.java

          for (CharSource source : sources) {
            if (!source.isEmpty()) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public Optional<Long> lengthIfKnown() {
          long result = 0L;
          for (CharSource source : sources) {
            Optional<Long> lengthIfKnown = source.lengthIfKnown();
            if (!lengthIfKnown.isPresent()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/EndpointPair.java

            return false;
          }
    
          return source().equals(other.source()) && target().equals(other.target());
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(source(), target());
        }
    
        @Override
        public String toString() {
          return "<" + source() + " -> " + target() + ">";
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. 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)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

      /**
       * Returns the trailers if they're immediately available.
       */
      @Throws(IOException::class)
      fun peekTrailers(): Headers? {
        withLock {
          if (source.finished && source.receiveBuffer.exhausted() && source.readBuffer.exhausted()) {
            return source.trailers ?: Headers.EMPTY
          }
          if (errorCode != null) {
            throw errorException ?: StreamResetException(errorCode!!)
          }
          return null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top