Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFSearch Methods

  • Last UpdatedNov 18, 2025
  • 6 minute read
AFSearch Methods

The AFSearch type exposes the following members.

Methods

  NameDescription
Public methodCode example
Aggregate
Performs all requested aggregates on the objects that match the search criteria.
Public methodCode example
AggregateAsync
Performs all requested aggregates on the objects that match the search criteria asynchronously.
Public methodCode example
BinnedSummaryTBin
Generates a summary broken down by the specified bins for items matching the search criteria.
Public methodCode example
BinnedSummaryAsyncTBin
Generates a summary broken down by the specified bins for items matching the search criteria asynchronously.
Public method
Close
Closes the search that is cached in the server.
Public methodStatic member
ConvertAFPatternToRegexPattern
Convert an AF query pattern to a pattern that can be used with .NET Regex class.
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodCode example
FindObjectFields(String, Int32, Int32)
This method will return the values as an IList for the specified fields for each of the objects that match the search tokens.
Public methodCode example
FindObjectFieldsTObject(Int32, Int32)
This method will return the values for the fields defined by the user-defined type for each of the objects that match the search tokens.
Public methodCode example
FindObjectFieldsTObject(String, FuncIListObject, TObject, Int32, Int32)
This method will return the values as an object for the specified fields for each of the objects that match the search tokens using the supplied factory delegate.
Public methodCode example
FindObjectIds
This method will return a list of the ID for each object that matches the search tokens.
Public methodCode example
FrequencyDistribution
Generates a frequency distribution for the specified items.
Public methodCode example
FrequencyDistributionAsync
Generates a frequency distribution for the specified items asynchronously.
Public method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method
GetTotalCount
Returns the total count of the items that could be returned from the search query.
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode example
GroupedSummary
Generates summaries broken down by group for items matching the search criteria.
Public methodCode example
GroupedSummaryAsync
Generates summaries broken down by group for items matching the search criteria asynchronously.
Public methodCode example
HistogramTBin
Generates a histogram using the specified weighting for items matching this search.
Public methodCode example
HistogramAsyncTBin
Generates a histogram using the specified weighting for items matching this search asynchronously.
Public methodStatic member
ParseQuery Obsolete.
Parses the specified search query into search tokens which can be used to search for objects.
Public methodStatic member
ParseQueryString
Parses the specified search query into search tokens which can be used to search for objects.
Public method
Refresh
Refreshes the search that is cached in the server.
Public methodCode example
Summary(String, AFSummaryTypes)
Summarizes the result of this search.
Public method
Summary(String, AFSummaryTypes, String)
Summarizes the result of this search with the specified weighting.
Public methodCode example
SummaryAsync(String, AFSummaryTypes, CancellationToken)
Summarizes the result of this search asynchronously.
Public method
SummaryAsync(String, AFSummaryTypes, String, CancellationToken)
Summarizes the result of this search with the specified weighting asynchronously.
Public method
ToString
Returns a String that represents the current object.
(Overrides ObjectToString.)
Public method
TryFindSearchToken Obsolete.
Find the AFSearchToken associated with the specified AFSearchFilter.
Public method
TryFindSearchTokens Obsolete.
Find the AFSearchToken list associated with the specified AFSearchFilter.

See Also

TitleResults for “How to create a CRG?”Also Available in