IFulltext SessionQuery FutureTDocument, TResult Method
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.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
A lazily initialized list of results for the query.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
Lazy<IList<TResult>> QueryFuture<TDocument, TResult>(
IPreparedQuery<TDocument, TResult> preparedQuery
)
VB
Function QueryFuture(Of TDocument, TResult) (
preparedQuery As IPreparedQuery(Of TDocument, TResult)
) As Lazy(Of IList(Of TResult))Parameters
- preparedQuery IPreparedQueryTDocument, TResult
- The prepared query instance to schedule for execuction.
Type Parameters
- TDocument
- The type of document to execute a prepared query for.
- TResult
- The type of the result to return.
Return Value
LazyIListTResultA lazily initialized list of results for the query.