Hi, A listener for newSearcher always get a null currentSearcher. The SolrCore always calls listener.newSearcher(newSearcher,null);
Is that a bug or a feature? Another question was related to commit listeners. When inside the postCommit method, both core.getSearcher() and core.getNewestSearcher(false) seem to get an old Searcher which do not have the documents added just before the commit. I was using this callback in SOLR-622 and my test was not working. When I accidently added two commit calls before a call to SpellChecker, I got the correct results. Any idea what may be wrong? -- Regards, Shalin Shekhar Mangar.
