lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Priblouda <kpriblo...@yahoo.com>
Subject Re: Lock handling and Lucene 1.9 / 2.0
Date Tue, 14 Sep 2004 11:01:24 GMT

--- Christoph Goller <goller@detego-software.de>
wrote:

> Konstantin Priblouda wrote:
> 
> > and why constructor IndexReader(Directory) 
> > is protected? Is it really necessary, or it can be
> > relaxed? Factory methods are uncool. 
> > ( it means, if it would be public, then it would
> be
> > possible to drop a load of application code 
> > which does not need tests... ) 
> 
> It's protected since depending on the internal
> structure
> of your index you get different implementations of
> subclasses
> of IndexReader when you call the static open method.
> IndeReader
> itself is only an abstract class.

and what is rationale for hiding concrete index
implementations? 

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programmieren, Kenntnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message