SearchQuery

constructor(docSourceFactory: (obj: Deserializer.ObjectCtx) -> S, query: QueryExpression? = null, params: Params = Params())

Parameters

docSourceFactory

a factory that produce a document source. It needs Deserializer.ObjectCtx to be able to create different instances based on a hit.