Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,834 for score (0.02 seconds)

  1. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

                } catch (final Exception e) {
                    logger.warn("Failed to update scores: booster={}", b.getClass().getSimpleName(), e);
                    resultBuf.append(e.getMessage()).append('\n');
                }
            });
            return resultBuf.toString();
        }
    
        /**
         * Adds a score booster.
         * @param scoreBooster The score booster.
         */
        protected void addScoreBooster(final ScoreBooster scoreBooster) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

        }
    
        /**
         * Get a score for interface selection (higher is better)
         *
         * @return interface score
         */
        public int getScore() {
            int score = linkSpeed; // Base score is link speed
    
            if (rssCapable)
                score += 1000; // Prefer RSS-capable
            if (rdmaCapable)
                score += 2000; // Prefer RDMA-capable
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

        /** The text content field. */
        public static final String TEXT = "text";
        /** The prefix for reading fields. */
        public static final String READING_PREFIX = "reading_";
        /** The score field. */
        public static final String SCORE = "score";
        /** The query frequency field. */
        public static final String QUERY_FREQ = "queryFreq";
        /** The document frequency field. */
        public static final String DOC_FREQ = "docFreq";
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                    logger.warn("Failed to update scores: {}", response.buildFailureMessage());
                }
                bulkRequestBuilder = null;
            }
        }
    
        /**
         * Gets the priority of this score booster.
         * @return The priority.
         */
        public int getPriority() {
            return priority;
        }
    
        /**
         * Sets the priority of this score booster.
         * @param priority The priority.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. docs/smb3-features/03-multi-channel-design.md

        
        public int getScore() {
            // Score interface for selection (higher is better)
            int score = linkSpeed;  // Base score is link speed
            
            if (rssCapable) score += 1000;   // Prefer RSS-capable
            if (rdmaCapable) score += 2000;  // Prefer RDMA-capable
            if (!ipv6) score += 100;         // Slight preference for IPv4
            
            return score;
        }
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

            if (errorRate > 0.1)
                score -= 50;
            else if (errorRate > 0.01)
                score -= 20;
    
            // Adjust based on interface capabilities
            score += localInterface.getScore() / 100;
            score += remoteInterface.getScore() / 100;
    
            // Prefer primary channel slightly
            if (isPrimary)
                score += 10;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertTrue(baseScore > 0);
    
            // Active channel should have lower score (busy penalty)
            channelInfo.setState(ChannelState.ACTIVE);
            int activeScore = channelInfo.getScore();
            assertTrue(activeScore < baseScore);
    
            // Failed channel should have zero score
            channelInfo.setState(ChannelState.FAILED);
            assertEquals(0, channelInfo.getScore());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

         * @param fields the array of fields associated with the search words
         * @param tags the array of tags associated with the search words
         * @param roles the array of roles associated with the search words
         * @param score the score associated with the search words
         * @param readingConverter the converter to use for converting readings
         * @param normalizer the normalizer to use for normalizing the search words
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestQueryBuilder.java

    /**
     * Builds OpenSearch queries for suggestion requests.
     *
     * <p>This class encapsulates the query building logic extracted from SuggestRequest,
     * including reading conversion, normalization, and function score query construction.</p>
     */
    public class SuggestQueryBuilder {
    
        private final ReadingConverter readingConverter;
        private final Normalizer normalizer;
        private final List<String> languages;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

     *
     * <p>Usage example:</p>
     * <pre>
     * {@code
     * DefaultContentsParser parser = new DefaultContentsParser();
     * SuggestItem item = parser.parseSearchWords(words, readings, fields, tags, roles, score, readingConverter, normalizer, analyzer, langs);
     * }
     * </pre>
     *
     * @see ContentsParser
     * @see SuggestItem
     * @see ReadingConverter
     * @see Normalizer
     * @see SuggestAnalyzer
     */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
Back to Top