protected void Initialize(ILuceneIndex index, bool close) { Assert.ArgumentNotNull(index, "index"); _analyzer = index.Analyzer; Assert.IsNotNull(_analyzer, "Failed to request analyzer from the index"); }