I am trying to retrieve 5000 records from Raven DB at a stretch by using the below code. I am trying with single session.
documentIDsList : contains list of id's to be fetched from Raven. Right now it has 5000 string values in this list.
session.Query().Where(k => k.Id.In(documentIDsList)).ToList();
Problems I am Facing :
Please help me on how the query should be written to retrive more records at a stretch.