FullTextScoreScope Enum

Definition

Specifies the scope for computing BM25 statistics used by FullTextScore in hybrid search queries.

public enum FullTextScoreScope
type FullTextScoreScope = 
Public Enum FullTextScoreScope
Inheritance
FullTextScoreScope

Fields

Name Value Description
Global 0

Compute BM25 statistics (term frequency, inverse document frequency, and document length) across all documents in the container, including all physical and logical partitions. This is the default behavior.

Local 1

Compute BM25 statistics only over the subset of documents within the partition key values specified in the query. This is useful for multi-tenant scenarios where scoring should reflect statistics that are accurate for a specific tenant's dataset.

Applies to