Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 193 for asStream (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

     */
    package org.codelibs.fess.query;
    
    import java.io.IOException;
    import java.util.Objects;
    
    import org.apache.lucene.search.Query;
    import org.opensearch.core.common.io.stream.StreamOutput;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.DisMaxQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

                }
            } catch (final LlmException e) {
                logger.warn("[LLM] Stream chat request failed. llmType={}, error={}, elapsedTime={}ms", llmType, e.getMessage(),
                        System.currentTimeMillis() - startTime);
                throw e;
            } catch (final Exception e) {
                logger.warn("[LLM] Stream chat request failed with unexpected error. llmType={}, error={}, elapsedTime={}ms", llmType,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 11:10:51 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        @Test
        public void test_update_fromInputStream() throws IOException {
            // Create test input stream
            String content = "updated1\n" + "updated2\n";
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
    
            // Update from input stream
            protwordsFile.update(is);
    
            // Verify update
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/ParameterUtil.java

            final Pattern properyPattern = Pattern.compile(ComponentUtil.getFessConfig().getAppEncryptPropertyPattern());
            final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
            ParameterUtil.parse(value).entrySet().stream().map(e -> {
                final String k = e.getKey();
                final String v = e.getValue();
                if (properyPattern.matcher(k).matches() && !v.startsWith(CIPHER_PREFIX)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            if (StringUtil.isNotEmpty(contentType)) {
                curlRequest.header("Content-Type", contentType);
            }
    
            request.getParameterMap().entrySet().stream().forEach(entry -> {
                if (entry.getValue().length > 1) {
                    curlRequest.param(entry.getKey(), String.join(",", entry.getValue()));
                } else if (entry.getValue().length == 1) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                if (clazz.isAssignableFrom(List.class)) {
                    return (T) value;
                }
                if (clazz.isAssignableFrom(String[].class)) {
                    return (T) ((List<?>) value).stream().filter(s -> s != null).map(Object::toString).toArray(n -> new String[n]);
                }
    
                if (((List<?>) value).isEmpty()) {
                    return null;
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules
    
    import com.google.gson.Gson
    import com.google.gson.stream.JsonWriter
    import gradlebuild.binarycompatibility.AcceptedApiChange
    import gradlebuild.binarycompatibility.AcceptedApiChanges
    import gradlebuild.binarycompatibility.AcceptedViolationsProvider
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

            });
        }
    
        @Override
        public int load() {
            final Map<String, Pair<Map<String, String>, List<Pair<Pattern, String>>>> relatedContentMap = new HashMap<>();
            getAvailableRelatedContentList().stream().forEach(entity -> {
                final String key = getHostKey(entity);
                Pair<Map<String, String>, List<Pair<Pattern, String>>> pair = relatedContentMap.get(key);
                if (pair == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/chat/ChatClient.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.entity.ChatMessage;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  10. src/main/webapp/js/chat.js

    /**
     * Fess RAG Chat JavaScript
     * Enhanced with Atlassian Design System patterns
     */
    var FessChat = (function() {
        'use strict';
    
        var config = {
            apiUrl: '/api/v1/chat',
            streamUrl: '/api/v1/chat/stream',
            labels: {
                thinking: 'Thinking...',
                waiting: '...',
                error: 'An error occurred. Please try again.',
                sources: 'Sources',
                statusReady: 'AI Assistant',
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
Back to Top