ra0o0f / arangoclient.net

ArangoDB .NET Client with LINQ support
Apache License 2.0
99 stars 37 forks source link

db.Fulltext<T>()... get FullCount #95

Open ricardoalcantara opened 6 years ago

ricardoalcantara commented 6 years ago

Hi, Is it possible to get FullCount when executing the Fulltext Search? I tried the following code and it didn't return the correct value:

var query = _dbContext.Fulltext<AdvertisementDocument>(f => f.Name, q, null, skip, take);

advertisementDocumentList = await query.ToListAsync();                
total = query.Statistics.Extra.Stats.FullCount ?? 0;