This project is read-only.

Access to SearchService searcher


The SearchService.GetSearcher() property should be public, so that other Lucene operations which are beyond the scope of SimpleLucene can be performed on it. For example, there's currently no way to see which keywords matched (such as with Searcher.Explain()), or to rewrite a query for highlighting.


DRubin wrote Oct 25, 2011 at 9:38 PM

For my purposes, simply having a SearchService.RewriteQuery() function would work just as well, but I suspect there's more usecases that making it public would help with.

axe wrote May 24, 2012 at 1:03 AM

Since GetSearcher() is declared as protected so there wouldn't be a problem to derive from SearchService