On Tuesday 17 October 2006 21:10, Chris Hostetter wrote: > > : When custom Scorers and/or Directories need a close method, it can > : also be provided by subclassing Scorer, IndexSearcher and Directory > : in the custom code. > : Not providing this close method in the Lucene core passes the message > : that a working implementation is possible without it. > > it seems like that would handicap adoption of new Queries/Directories ... > I don't know how many people would have been interested in > ConstantScoreQuery or FunctionQuery if they'd been told they had to stop > using IndexSearcher and start using a new "ConstantScorableIndexSearcher"
Iirc no (general) closing method in Scorer or IndexSearcher was needed for the Constant... and Function... queries and scorers. And with the code readable from an svn repository, these is no need to stop at any class to consider modifications. Regards, Paul Elschot --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]