For example I create a query using Limit(20, 10), it returns 30 documents instead of just 10.
var db = _connectionMultiplexer.GetDatabase();
var json = db.FT();
var query = new Query("*").SetNoContent(false).SetSortBy("", true).Limit(search.start, search.length);
var results = json.Search("idx1", query);
I've tried with variations, removing the extra setnotcontent and sort but I get the same result.
If I directly query my redis database it works as expected and I only get 10 records back:
FT.SEARCH 'idx1' '*' LIMIT 20 10 SORTBY ASC
I'm using version 1.6.0.
For example I create a query using Limit(20, 10), it returns 30 documents instead of just 10.
var db = _connectionMultiplexer.GetDatabase();
var json = db.FT();
var query = new Query("*").SetNoContent(false).SetSortBy("", true).Limit(search.start, search.length);
var results = json.Search("idx1", query);
I've tried with variations, removing the extra setnotcontent and sort but I get the same result.
If I directly query my redis database it works as expected and I only get 10 records back:
FT.SEARCH 'idx1' '*' LIMIT 20 10 SORTBY ASC
I'm using version 1.6.0.