Click or drag to resize
IFulltextQueryTDocument Interface
Represents a Sphinx full-text query.

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
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 methodFirst(QueryMetadata)
Execute this query and return the first result along with query meta data.
Public methodFirstFuture
Execute this query and return a 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 methodFirstOrDefault(QueryMetadata)
Execute this query and return the first result or the default value for the given type, if no results were found along with query metadata.
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 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
Match the documents with the given matchClause.
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 Sphinx.
Public methodCode exampleToFutureList(LazyQueryMetadata)
Get a lazily initialized list of results along with query metadata. Accessing the results will trigger the execution of all pending future results as a batch of queries in a single roundtrip to Sphinx.
Public methodToList
Execute this query and return the list of results.
Public methodCode exampleToList(QueryMetadata)
Execute this query and return the list of results along with query metadata.
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 methodWithSubqueryTSubqueryResult
Defines a subquery from which the results for this query are selected.
Top
See Also