SphinxConnector.NET 5.4.1
SphinxConnector.NET 5.4.1
SphinxConnector.NET 5
SphinxConnector.FluentApi
IFulltextQuery(TDocument) Interface
IFulltextQuery(TDocument) Methods
First Method
FirstAsync Method
FirstFuture Method
FirstFutureAsync Method
FirstOrDefault Method
FirstOrDefaultAsync Method
FirstOrDefaultFuture Method
FirstOrDefaultFutureAsync Method
GroupBy Method
Having Method
Limit Method
Match Method
Metadata Method
Options Method
OrderBy(TKey) Method
OrderByDescending(TKey) Method
Select(TResult) Method
Take Method
ThenBy(TKey) Method
ThenByDescending(TKey) Method
ToFutureList Method
ToFutureListAsync Method
ToList Method
ToListAsync Method
Where Method
WithinGroupOrderBy(TKey) Method
WithinGroupOrderByDescending(TKey) Method
WithSubquery(TSubqueryResult) Method
IFulltextQuery
TDocument
FirstFuture Method
Execute this query and return a lazily initialized first result.
Namespace:
SphinxConnector.FluentApi
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntax
C#
VB
Copy
Lazy
<TDocument>
FirstFuture
()
Function
FirstFuture
As
Lazy
(
Of
TDocument)
Return Value
Type:
Lazy
TDocument
A lazily initialized instance of
TDocument
.
Exceptions
Exception
Condition
InvalidOperationException
The query returned no results.
FulltextException
Occurs when there is an error during the execution of the query.
Remarks
This is equivalent to calling Limit(0, 1).ToList()
See Also
Reference
IFulltextQuery
TDocument
Interface
SphinxConnector.FluentApi Namespace
Parts of the documentation are taken from the official
Sphinx documentation
by courtesy of
Sphinx Technologies Inc.
Copyright Dennis Gronewold
Send comments on this topic to
contact@sphinxconnector.net