Re: Solr IndexSearcher lifecycle

2018-10-28 Thread Edward Ribeiro
On Fri, Oct 26, 2018 at 10:38 AM Xiaolong Zheng < xiaolong.zh...@mathworks.com> wrote: Hi, But when things come to Solr world which in a Java Webapp with servlet dispatcher. Do we also keep reusing the same IndexSearcher instance as long as there is no index changing? Yes. The IndexSearcher is

Solr IndexSearcher lifecycle

2018-10-26 Thread Xiaolong Zheng
Hi, I would like to have more understanding of the lifecycle for IndexSearcher in Solr, I understand that IndexSearcher for Lucene would recommended that “For performance reasons, if your index is unchanging, you should share a single IndexSearcher instance across multiple searches instead of c