[hibernate-dev] Hibernate Search: configure the LockingFactory

Emmanuel Bernard emmanuel at hibernate.org
Wed Feb 18 09:19:32 EST 2009


On  Feb 18, 2009, at 11:49, Sanne Grinovero wrote:

>>>
>>> Also 2 of the base Lucene implementations are missing a public no- 
>>> args
>>> constructor,
>>> so I would use only simple names:
>>>
>>> simple -> org.apache.lucene.store.SimpleFSLockFactory
>>> native  -> org.apache.lucene.store.NativeFSLockFactory
>>> single  -> org.apache.lucene.store.SingleInstanceLockFactory
>>> none   -> org.apache.lucene.store.NoLockFactory
>>
>> yes, simple names for those that make sense and fqcn for the  
>> others. We
>> might also support a "factory" so that impl wo no-arg constructor  
>> can be
>> used, but that's an enhancement we can do later if needed.
>
> I avoided support for "fqcn" and factories to keep it simple;
> I'll add support for both for consistency and because you seem to  
> like them.

The Hibernate Search mantra is Keep It Simple, Keep it Extensible. So  
there is an answer for everyone.



More information about the hibernate-dev mailing list