1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Custom search return error when we get large results set

Custom search return error when we get large results set

2 posts, 0 answered
  1. Suranga
    Suranga avatar
    12 posts
    Registered:
    22 Mar 2010
    30 Oct 2012
    Link to this post
    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
  2. Suranga
    Suranga avatar
    12 posts
    Registered:
    22 Mar 2010
    31 Oct 2012
    Link to this post
    OK I think i found a solution with this post. 
    http://www.sitefinity.com/devnet/forums/sitefinity-sdk/get-available-search-indices

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


2 posts, 0 answered