SimpleScorer.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
-
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."],[[["`SimpleScorer.Result` is a class that extends `Scorer.Result` and is tailored specifically for use with `SimpleScorer`."],["The `SimpleScorer.Result` class does not hold any additional information beyond what is provided by its parent class."],["The class includes a constructor, `Result(Document doc)`, which takes a `Document` as a parameter."],["The `addScores(SearchServicePb.SearchResult.Builder resultBuilder)` method is available for adding scores and is specified in the `Scorer.Result` class."]]],[]]