IFulltext QueryTDocument Interface
Represents a Sphinx full-text query.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public interface IFulltextQuery<TDocument>
VB
Public Interface IFulltextQuery(Of TDocument)Type Parameters
- TDocument
- The type of document for this query.
Methods
| First | Execute this query and return the first result. |
| FirstAsync | Asynchronously execute this query and return the first result. |
| FirstAsync(CancellationToken) | Asynchronously execute this query and return the first result. |
| FirstFuture | Execute this query and return a lazily initialized first result. |
| FirstFutureAsync | Execute this query and return an asynchronously, lazily initialized first result. |
| FirstFutureAsync(CancellationToken) | Execute this query and return an asynchronously, lazily initialized first result. |
| FirstOrDefault | Execute this query and return the first result or the default value for the given type, if no results were found. |
| FirstOrDefaultAsync | Asynchronously execute this query and return the first result or the default value for the given type, if no results were found. |
| FirstOrDefaultAsync(CancellationToken) | Asynchronously execute this query and return the first result or the default value for the given type, if no results were found. |
| FirstOrDefaultFuture | Execute this query and return the lazily initialized first result or the default value for the given type, if no results were found. |
| FirstOrDefaultFutureAsync | Execute this query and return the asynchronously, lazily initialized first result or the default value for the given type, if no results were found. |
| FirstOrDefaultFutureAsync(CancellationToken) | Execute this query and return the asynchronously, lazily initialized first result or the default value for the given type, if no results were found. |
| GroupByTKey(ExpressionFuncTDocument, TKey) | Group the results of this query by the given key. |
| GroupByTKey(ExpressionFuncTDocument, TKey, Int32) | Group the results of this query by the given key and return a given amount of results per group. Supported with Sphinx 2.2.1 and above. |
| Having | Filter the aggregated results of this query by the given predicate. Supported with Sphinx 2.2.1 and up. |
| Limit | Limits the results returned by this query. |
| Match(ReadOnlyMemoryChar) | Match the documents with the given matchClause. |
| Match(String) | Match the documents with the given matchClause. |
| Metadata | Returns query metadata (data is available after the query has been executed). |
| Options | Change the options used for this query. |
| OrderByTKey | Sort the results of this query by the given key in ascending order. |
| OrderByDescendingTKey | Sort the results of this query by the given key in descending order. |
| SelectTResult | Project the results of this query into a new form. |
| Take | Return at most count results for this query. |
| ThenByTKey | Sort the results of this query by the given key in ascending order. |
| ThenByDescendingTKey | Sort the results of this query by the given key in descending order. |
| ToAsyncEnumerable | Execute this query and return an async enumerable for the results. |
| ToFutureList | Get a lazily initialized list of results. Accessing the results will trigger the execution of all pending future results as a batch of queries in a single roundtrip to searchd. |
| ToFutureListAsync | Get an asynchronously, lazily initialized list of results. Accessing the results will trigger the execution of all pending future results as a batch of asynchronous queries in a single roundtrip to searchd. |
| ToFutureListAsync(CancellationToken) | Get an asynchronously, lazily initialized list of results. Accessing the results will trigger the execution of all pending future results as a batch of asynchronous queries in a single roundtrip to searchd. |
| ToList | Execute this query and return the list of results. |
| ToListAsync | Asynchronously execute this query and return the list of results. |
| ToListAsync(CancellationToken) | Asynchronously execute this query and return the list of results. |
| Where | Filter the results of this query by the given predicate. |
| WithinGroupOrderByTKey | Sort the documents within a group by the given key in ascending order. |
| WithinGroupOrderByDescendingTKey | Sort the documents within a group by the given key in descending order. |
| WithSubqueryTSubqueryResult | Defines a subquery from which the results for this query are selected. |