Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 2,100 for score (0.03 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. callbacks/helper_test.go

    				Columns: []clause.Column{{Name: "age"}},
    				Values:  [][]interface{}{{18}},
    			},
    		},
    		{
    			name: "Test convert float value",
    			input: map[string]interface{}{
    				"score": 99.5,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "score"}},
    				Values:  [][]interface{}{{99.5}},
    			},
    		},
    		{
    			name: "Test convert bool value",
    			input: map[string]interface{}{
    				"active": true,
    			},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Mar 05 02:22:57 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

            TopDocs topDocs = new IndexSearcher(reader).search(scriptScoreQuery(factory), 10);
            if (topDocs.scoreDocs[0].score != 1_000_000) {
                throw new AssertionError("Expected score to be 1,000,000 but was [" + topDocs.scoreDocs[0].score + "]");
            }
            return topDocs;
        }
    
        private Query scriptScoreQuery(ScoreScript.Factory factory) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top