Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,179 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. 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)
  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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/entity/QueryContext.java

                    }
                });
            }
        }
    
        /**
         * Adds function score configuration to the query builder.
         * @param functionScoreQuery Consumer that configures the function score filters.
         */
        public void addFunctionScore(final Consumer<List<FilterFunctionBuilder>> functionScoreQuery) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. clause/benchmarks_test.go

    				clause.Gt{Column: "age", Value: 18},
    				clause.Or(clause.Neq{Column: "name", Value: "jinzhu"}),
    			}},
    			clause.Where{Exprs: []clause.Expression{
    				clause.Or(clause.Gt{Column: "score", Value: 100}, clause.Like{Column: "name", Value: "%linus%"}),
    			}},
    			clause.GroupBy{Columns: []clause.Column{{Name: "role"}}, Having: []clause.Expression{clause.Eq{"role", "admin"}}},
    			clause.Limit{Limit: &limit10, Offset: 20},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Oct 07 12:14:14 GMT 2022
    - 1.9K bytes
    - Click Count (0)
Back to Top