Searchable is an interface in Java Lucene's org.apache.lucene.search package. It defines six different methods called search().
Searcher is an abstract class which implements the Searchable interface. It defines eight more methods called search().
The IndexSearcher class subclasses Searcher, so it inherits all eight of Searcher's search() methods. It also implements three of the search() methods defined by Searchable. Then there's the aptly named MultiSearcher, which, like IndexSearcher, inherits from Searcher and implements three search() methods of its own.
I wonder what it would take to rewrite all of Lucene using only methods called overload().
posted 2006-Jan-21 12:01 :: permalink