MatchScorer.Result
Stay organized with collections
Save and categorize content based on your preferences.
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
float |
score |
-
Fields inherited from class com.google.appengine.api.search.dev.Scorer.Result
doc
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
addScores
public void addScores(SearchServicePb.SearchResult.Builder resultBuilder)
- Specified by:
addScores
in class Scorer.Result
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-15 UTC."],[[["`MatchScorer.Result` is a class that extends `Scorer.Result` and is nested within the `MatchScorer` class."],["This class is designed to store the Lucene score associated with a specific document."],["It contains a public float field named `score` that holds the document's calculated score."],["The `addScores` method is implemented to handle the addition of scores to a `SearchServicePb.SearchResult.Builder`."],["This class inherits methods from `java.lang.Object`, which includes methods such as `clone`, `equals`, and `toString`, among others."]]],[]]