Click or drag to resize

IFulltextQueryTDocument Interface

Represents a Sphinx full-text query.

Namespace:  SphinxConnector.FluentApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public interface IFulltextQuery<TDocument>

Type Parameters

TDocument
The type of document for this query.

The IFulltextQueryTDocument type exposes the following members.

Methods
  NameDescription
Public methodFirst
Execute this query and return the first result.
Public methodFirstAsync
Asynchronously execute this query and return the first result.
Public methodFirstAsync(CancellationToken)
Asynchronously execute this query and return the first result.
Public methodFirstFuture
Execute this query and return a lazily initialized first result.
Public methodFirstFutureAsync
Execute this query and return an asynchronously, lazily initialized first result.
Public methodFirstFutureAsync(CancellationToken)
Execute this query and return an asynchronously, lazily initialized first result.
Public methodFirstOrDefault
Execute this query and return the first result or the default value for the given type, if no results were found.
Public methodFirstOrDefaultAsync
Asynchronously execute this query and return the first result or the default value for the given type, if no results were found.
Public methodFirstOrDefaultAsync(CancellationToken)
Asynchronously execute this query and return the first result or the default value for the given type, if no results were found.
Public methodFirstOrDefaultFuture
Execute this query and return the lazily initialized first result or the default value for the given type, if no results were found.
Public methodFirstOrDefaultFutureAsync
Execute this query and return the asynchronously, lazily initialized first result or the default value for the given type, if no results were found.
Public methodFirstOrDefaultFutureAsync(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.
Public methodCode exampleGroupByTKey(ExpressionFuncTDocument, TKey)
Group the results of this query by the given key.
Public methodCode exampleGroupByTKey(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.
Public methodCode exampleHaving
Filter the aggregated results of this query by the given predicate. Supported with Sphinx 2.2.1 and up.
Public methodLimit
Limits the results returned by this query.
Public methodMatch(ReadOnlyMemoryChar)
Match the documents with the given matchClause.
Public methodMatch(String)
Match the documents with the given matchClause.
Public methodCode exampleMetadata
Returns query metadata (data is available after the query has been executed).
Public methodCode exampleOptions
Change the options used for this query.
Public methodOrderByTKey
Sort the results of this query by the given key in ascending order.
Public methodOrderByDescendingTKey
Sort the results of this query by the given key in descending order.
Public methodCode exampleSelectTResult
Project the results of this query into a new form.
Public methodTake
Return at most count results for this query.
Public methodThenByTKey
Sort the results of this query by the given key in ascending order.
Public methodThenByDescendingTKey
Sort the results of this query by the given key in descending order.
Public methodCode exampleToFutureList
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.
Public methodCode exampleToFutureListAsync
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.
Public methodCode exampleToFutureListAsync(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.
Public methodToList
Execute this query and return the list of results.
Public methodToListAsync
Asynchronously execute this query and return the list of results.
Public methodToListAsync(CancellationToken)
Asynchronously execute this query and return the list of results.
Public methodWhere
Filter the results of this query by the given predicate.
Public methodWithinGroupOrderByTKey
Sort the documents within a group by the given key in ascending order.
Public methodWithinGroupOrderByDescendingTKey
Sort the documents within a group by the given key in descending order.
Public methodCode exampleWithSubqueryTSubqueryResult
Defines a subquery from which the results for this query are selected.
Top
See Also