JoinSpec.Builder.SetMaxJoinedResultCount(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the max amount of SearchResults to return with the parent document, with a default of 10 SearchResults.
[Android.Runtime.Register("setMaxJoinedResultCount", "(I)Landroid/app/appsearch/JoinSpec$Builder;", "", ApiSince=34)]
public Android.App.AppSearch.JoinSpec.Builder SetMaxJoinedResultCount(int maxJoinedResultCount);
[<Android.Runtime.Register("setMaxJoinedResultCount", "(I)Landroid/app/appsearch/JoinSpec$Builder;", "", ApiSince=34)>]
member this.SetMaxJoinedResultCount : int -> Android.App.AppSearch.JoinSpec.Builder
Parameters
- maxJoinedResultCount
- Int32
Returns
- Attributes
Remarks
Sets the max amount of SearchResults to return with the parent document, with a default of 10 SearchResults. This does NOT limit the number of results that are joined with the parent document for scoring. This means that, when set, only a maximum of maxJoinedResultCount results will be returned with each parent document, but all results that are joined with a parent will factor into the score.
Android reference for android.app.appsearch.JoinSpec.Builder.setMaxJoinedResultCount.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.