Re: Cost of keeping around IndexReader instances

2013-11-22 Thread Vitaly Funstein
UPDATE: I went with method 1, i.e. keeping IndexReader instances open between requests. Which brings me back to the original questions - is there any way of quantifying the impact of not closing a particular IndexReader? Does this depend on # of segments per index, open file count etc? On Thu, Oc

Cost of keeping around IndexReader instances

2013-10-10 Thread Vitaly Funstein
Hello, I am trying to weigh some ideas for implementing paged search functionality in our system, which has these basic requirements: - Using Solr is not an option (at the moment). - Any Lucene 4.x version can be used. - Result pagination is driven by the user application code. - User