I'm having problems understanding the proper usage of the EnumerationOptions.Rewindable property, if I set it to "false" and use asynchronous calls I always get "Invalid parameter exception". This is the code:
EnumerationOptions opts = new EnumerationOptions();
opts.Rewindable = false;
opts.BlockSize = 10;
opts.Timeout = TimeSpan.MaxValue;
opts.DirectRead = false;
opts.ReturnImmediately = true;
opts.EnumerateDeep = false;
searcher.Get(observer); -> "Invalid parameter"
I don't need to cache the results for multiple enumerations and I would like to reduce the memory pressure added by holding on the whole enumeration (the query returns a lot of data). Any ideas what could be wrong ?
View Complete Post