RangeFacet<T> Class
Applies To: Microsoft Azure
A single bucket of a range facet query result that reports the number of documents with a field value falling within a particular range.
Namespace: Microsoft.Azure.Search.Models
Assembly: Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)
Inheritance Hierarchy
System.Object
Microsoft.Azure.Search.Models.RangeFacet<T>
Syntax
public class RangeFacet<T>
where T : struct
generic<typename T>
where T : value struct, gcnew()
public ref class RangeFacet
type RangeFacet<'T when 'T : struct> = class end
Public Class RangeFacet(Of T As Structure)
Type Parameters
- T
A type that matches the type of the field to which the facet was applied. Valid types include DateTimeOffset, Double, and Int64 (long in C#).
Properties
| Name | Description | |
|---|---|---|
![]() |
Count | Gets the approximate count of documents falling within the bucket described by this facet. |
![]() |
From | Gets a value indicating the inclusive lower bound of the facet's range, or null to indicate that there is no lower bound (i.e. -- for the first bucket). |
![]() |
To | Gets a value indicating the exclusive upper bound of the facet's range, or null to indicate that there is no upper bound (i.e. -- for the last bucket). |
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Azure.Search.Models Namespace
Return to top
.jpeg)
.jpeg)
.jpeg)