GenericScorer.Result
Stay organized with collections
Save and categorize content based on your preferences.
-
-
Field Summary
-
Fields inherited from class com.google.appengine.api.search.dev.Scorer.Result
doc
-
Constructor Summary
Constructors
Constructor and Description |
Result(Document doc) |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Result
public Result(Document doc)
-
Method Detail
-
getValue
public java.lang.Object getValue(int idx)
-
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."],[[["`GenericScorer.Result` is a class extending `Scorer.Result`, designed to store intermediate values generated by sorters within the `com.google.appengine.api.search.dev` package."],["The class provides a constructor `Result(Document doc)` that accepts a `Document` object as input for creating a new `Result` instance."],["`getValue(int idx)` is a method that retrieves an object value at a specific index."],["The `addScores(SearchServicePb.SearchResult.Builder resultBuilder)` method, specified by the parent class `Scorer.Result`, is implemented to add scores to a `SearchServicePb.SearchResult.Builder` object."],["This class contains the field `doc` which is inherited from its parent `Scorer.Result`."]]],[]]