RE: Interfaces

2005-03-16 Thread Konstantin Priblouda
--- Robert Engels <[EMAIL PROTECTED]> wrote: > I've been pushing for making IndexReader and > IndexWriter interfaces for a > long time (and changing lucene core to use them), > but there seems a > reluctance to do so (although I am not sure why). > The current factory > methods could be easily mo

RE: Interfaces

2005-03-16 Thread Robert Engels
I've been pushing for making IndexReader and IndexWriter interfaces for a long time (and changing lucene core to use them), but there seems a reluctance to do so (although I am not sure why). The current factory methods could be easily moved to a IndexReaderWriter factory class. Probably a top-leve

Interfaces

2005-03-16 Thread Maik Schreiber
Hi, I know the issue of using interfaces in Lucene has been discussed a few times before. I'd like to bring that to the table once again, though, because I think all those discussions were missing an important point: unit testing. Without coding to interfaces it gets quite complicated to test f