Show / Hide Table of Contents

Enum SearchTextRequest.Types.RankPreference

How results will be ranked in the response.

Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public enum SearchTextRequest.Types.RankPreference

Fields

Name Description
Distance

Ranks results by distance.

Relevance

Ranks results by relevance. Sort order determined by normal ranking stack.

Unspecified

For a categorical query such as "Restaurants in New York City", RELEVANCE is the default. For non-categorical queries such as "Mountain View, CA" we recommend that you leave rankPreference unset.

In this article
Back to top Generated by DocFX