Custom search return error when we get large results set

Posted by Community Admin on 04-Aug-2018 17:24

Custom search return error when we get large results set

All Replies

Posted by Community Admin on 30-Oct-2012 00:00

Hi there, 

I'm getting this error when I get large result set (Ex: 100 results).

Telerik.Sitefinity.Utilities.Lucene.Net.Store.AlreadyClosedException: this IndexReader is closed

Same code block works for small result set. Please advice.

Thanks

Posted by Community Admin on 31-Oct-2012 00:00

OK I think i found a solution with this post. 
www.sitefinity.com/.../get-available-search-indices

Then I moved IResultSet to List<IDocument>. No more "IndexReader is closed" error.


This thread is closed