SphinxConnector.NET 6.2 has been released
We're pleased to announce that SphinxConnector.NET 6.2 is now available via NuGet! You can also download a build from our site, but that only contains a version for .NET Framework 4.6.2. and higher.
This release adds support for Manticore's scroll token feature to the fluent API:
//Retrieve the token via the Scroll() method:
var firstResult = await FulltextSession.Query<Book&>().
OrderBy(x => x.ReleaseDate).
ThenBy(x => x.Id).
Limit(0, 20).
Scroll(out ScrollToken token).
ToListAsync();
//Pass the token to the next query via Options() and also retrieve the new token:
var secondResult = await FulltextSession.Query<Book>().
Limit(0, 20).
Scroll(out ScrollToken nextToken).
Options(o => o.Scroll(token.Value)).
ToListAsync();
It can of course also be used with future and prepared queries.